Add: Main navigation menu

This commit is contained in:
machiav3lli 2021-12-16 00:57:18 +01:00
parent 5f4df77816
commit 0aee431479
2 changed files with 17 additions and 0 deletions

View File

@ -124,6 +124,8 @@ dependencies {
implementation 'androidx.fragment:fragment-ktx:1.4.0'
implementation 'androidx.activity:activity-ktx:1.4.0'
implementation "androidx.preference:preference-ktx:1.1.1"
implementation "androidx.navigation:navigation-fragment-ktx:2.4.0-beta02"
implementation "androidx.navigation:navigation-ui-ktx:2.4.0-beta02"
// Material3
implementation 'com.google.android.material:material:1.6.0-alpha01'

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/exploreTab"
android:icon="@drawable/ic_public"
android:title="@string/explore" />
<item
android:id="@+id/latestTab"
android:icon="@drawable/ic_new_releases"
android:title="@string/latest" />
<item
android:id="@+id/installedTab"
android:icon="@drawable/ic_launch"
android:title="@string/installed" />
</menu>