Posts

Showing posts from February, 2025

Bottom Navigation Bar in Android Studio using Java – Bottom Navigation View

Image
Step 1 : colors.xml <?xml version="1.0" encoding="utf-8"?> <resources>     <color name="purple_200">#FFBB86FC</color>     <color name="purple_500">#FF6200EE</color>     <color name="purple_700">#FF3700B3</color>     <color name="teal_200">#FF03DAC5</color>     <color name="teal_700">#FF018786</color>     <color name="black">#FF000000</color>     <color name="white">#FFFFFFFF</color>     <color name="lavender">#8692f7</color> </resources> Step 2: themes.xml <resources xmlns:tools="http://schemas.android.com/tools">     <!-- Base application theme. --> <stylename="Base.Theme.BottomNavigationBar" parent="Theme.MaterialComponents.DayNight.NoActionBar">         <!-- Customize your light theme here. -->         <!-- <item ...