I'm using android support library BottomNavigationView , it looks very bad in some versions of android .
this is my code :
<android.support.design.widget.BottomNavigationView
android:id="@+id/navigation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:background="#fff"
app:theme="@style/mydrawer"
app:itemIconTint="@drawable/selector"
app:itemTextColor="@drawable/selector"
app:menu="@menu/bottom_navigation_items" />
in styles :
<style name="mydrawer">
<item name="android:textSize">14sp</item>
</style>
it looks good in my phone with android 6 but it look very bad on most of the phones , like this:
as you can see, the text size in enormous
how can I fix this ?