Skip to content

Instantly share code, notes, and snippets.

View Ekagra's full-sized avatar
🤯
figuring out

Excelsior Ekagra

🤯
figuring out
View GitHub Profile
@Ekagra
Ekagra / menu.xml
Last active October 29, 2021 10:33
menu.xml
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/item1"
android:title="Item1"
android:icon="@drawable/item1"/>
<item
android:id="@+id/item2"
android:title="Item2"
android:icon="@drawable/item2"/>
<item
@Ekagra
Ekagra / activity_main.xml
Created October 29, 2021 09:36
activity_main.xml
----------------
<com.google.android.material.bottomnavigation.BottomNavigationView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schema.android.com/apk/res/res-auto"
android:id="@+id/navigation"
android:layout_width="match_parent"
android:layout_height="56dp"
android:layout_gravity="start"
app:menu="@menu/my_navigation_items" />