Closed notjedi closed 3 years ago
Hi @jedi2610 👋
Dunno, I am not 100% confident in this. I need to check BottomNavigationView
.
alr cool, i actually don't need that but thought it would be cool to have that feature
Hi @jedi2610 👋
About custom fonts: it's already supported. To provide custom font you need:
res/font
folderfontFamily
property <style name="CustomFont">
<item name="android:fontFamily">@font/ranches</item>
</style>
android:theme
attribute at ExpandableBottomBar
<github.com.st235.lib_expandablebottombar.ExpandableBottomBar
android:id="@+id/expandable_bottom_bar"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:theme="@style/CustomFont"
app:exb_items="@menu/bottom_bar"
app:exb_itemInactiveColor="#CCCCCC"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
The result should be like that:
oh cool thanks
it would be nice to have custom font support for text in bottom nav bar