mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 19:32:16 +00:00
Add: Main navigation menu
This commit is contained in:
parent
5f4df77816
commit
0aee431479
@ -124,6 +124,8 @@ dependencies {
|
|||||||
implementation 'androidx.fragment:fragment-ktx:1.4.0'
|
implementation 'androidx.fragment:fragment-ktx:1.4.0'
|
||||||
implementation 'androidx.activity:activity-ktx:1.4.0'
|
implementation 'androidx.activity:activity-ktx:1.4.0'
|
||||||
implementation "androidx.preference:preference-ktx:1.1.1"
|
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
|
// Material3
|
||||||
implementation 'com.google.android.material:material:1.6.0-alpha01'
|
implementation 'com.google.android.material:material:1.6.0-alpha01'
|
||||||
|
15
src/main/res/menu/navigation_menu_main.xml
Normal file
15
src/main/res/menu/navigation_menu_main.xml
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user