mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-06-08 08:49:55 +00:00
Add: Prefs' navigation menu and graph
This commit is contained in:
parent
1798c42d38
commit
f10a7c09a4
15
src/main/res/menu/navigation_menu_prefs.xml
Normal file
15
src/main/res/menu/navigation_menu_prefs.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/userTab"
|
||||||
|
android:icon="@drawable/ic_person"
|
||||||
|
android:title="@string/prefs_personalization" />
|
||||||
|
<item
|
||||||
|
android:id="@+id/updateTab"
|
||||||
|
android:icon="@drawable/ic_download"
|
||||||
|
android:title="@string/updates" />
|
||||||
|
<item
|
||||||
|
android:id="@+id/otherTab"
|
||||||
|
android:icon="@drawable/ic_tune"
|
||||||
|
android:title="@string/other" />
|
||||||
|
</menu>
|
21
src/main/res/navigation/navigation_graph_prefs.xml
Normal file
21
src/main/res/navigation/navigation_graph_prefs.xml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
app:startDestination="@id/userTab">
|
||||||
|
|
||||||
|
<fragment
|
||||||
|
android:id="@+id/userTab"
|
||||||
|
android:name="com.looker.droidify.ui.fragments.PrefsUserFragment"
|
||||||
|
tools:layout="@layout/fragment_prefs" />
|
||||||
|
|
||||||
|
<fragment
|
||||||
|
android:id="@+id/updateTab"
|
||||||
|
android:name="com.looker.droidify.ui.fragments.PrefsUpdatesFragment"
|
||||||
|
tools:layout="@layout/fragment_prefs" />
|
||||||
|
|
||||||
|
<fragment
|
||||||
|
android:id="@+id/otherTab"
|
||||||
|
android:name="com.looker.droidify.ui.fragments.PrefsOtherFragment"
|
||||||
|
tools:layout="@layout/fragment_prefs" />
|
||||||
|
</navigation>
|
Loading…
x
Reference in New Issue
Block a user