Update main design
This commit is contained in:
46
app/src/main/res/navigation/settings_nav_graph.xml
Normal file
46
app/src/main/res/navigation/settings_nav_graph.xml
Normal file
@ -0,0 +1,46 @@
|
||||
<?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" android:id="@+id/settings_nav_graph"
|
||||
app:startDestination="@id/tabSelectorFragment">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/calendarTabFragment"
|
||||
android:name="com.tommasoberlose.anotherwidget.ui.fragments.CalendarTabFragment"
|
||||
android:label="CalendarTabFragment" />
|
||||
<fragment
|
||||
android:id="@+id/clockTabFragment"
|
||||
android:name="com.tommasoberlose.anotherwidget.ui.fragments.ClockTabFragment"
|
||||
android:label="ClockTabFragment" />
|
||||
<fragment
|
||||
android:id="@+id/glanceTabFragment"
|
||||
android:name="com.tommasoberlose.anotherwidget.ui.fragments.GlanceTabFragment"
|
||||
android:label="GlanceTabFragment" />
|
||||
<fragment
|
||||
android:id="@+id/generalTabFragment"
|
||||
android:name="com.tommasoberlose.anotherwidget.ui.fragments.GeneralTabFragment"
|
||||
android:label="GeneralTabFragment" />
|
||||
<fragment
|
||||
android:id="@+id/weatherTabFragment"
|
||||
android:name="com.tommasoberlose.anotherwidget.ui.fragments.WeatherTabFragment"
|
||||
android:label="WeatherTabFragment" />
|
||||
<fragment
|
||||
android:id="@+id/tabSelectorFragment"
|
||||
android:name="com.tommasoberlose.anotherwidget.ui.fragments.TabSelectorFragment"
|
||||
android:label="TabSelectorFragment" >
|
||||
<action
|
||||
android:id="@+id/action_tabSelectorFragment_to_generalTabFragment"
|
||||
app:destination="@id/generalTabFragment" />
|
||||
<action
|
||||
android:id="@+id/action_tabSelectorFragment_to_weatherTabFragment"
|
||||
app:destination="@id/weatherTabFragment" />
|
||||
<action
|
||||
android:id="@+id/action_tabSelectorFragment_to_glanceTabFragment"
|
||||
app:destination="@id/glanceTabFragment" />
|
||||
<action
|
||||
android:id="@+id/action_tabSelectorFragment_to_calendarTabFragment"
|
||||
app:destination="@id/calendarTabFragment" />
|
||||
<action
|
||||
android:id="@+id/action_tabSelectorFragment_to_clockTabFragment"
|
||||
app:destination="@id/clockTabFragment" />
|
||||
</fragment>
|
||||
</navigation>
|
Reference in New Issue
Block a user