Thanks a lot for the work!
Found out it is possible!
You have to use setTextAppearance()
in your Activity:
mBottomBar.setTextAppearance(R.style.bottomBarTextView);
then define the corresponding style in styles.xml
<style name="bottomBarTextView" parent="@android:style/TextAppearance.Widget.TextView">
<item name="android:textSize">10dp</item>
</style>
I think you can set it in the XML too if you want - see https://github.com/roughike/BottomBar#for-the-bottombar (the bb_titleTextAppearance).
Most helpful comment
Found out it is possible!
You have to use setTextAppearance()
in your Activity:
mBottomBar.setTextAppearance(R.style.bottomBarTextView);then define the corresponding style in styles.xml