LibreTube/app/src/main/res/navigation/nav.xml

39 lines
1.4 KiB
XML
Raw Normal View History

2021-12-09 18:25:32 +05:30
<?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"
android:id="@+id/nav"
app:startDestination="@id/home2">
<fragment
android:id="@+id/home2"
2022-02-01 21:22:06 +05:30
android:name="com.github.libretube.Home"
2021-12-09 18:25:32 +05:30
android:label="fragment_home"
2021-12-28 01:37:07 +05:30
tools:layout="@layout/fragment_home" >
<action
android:id="@+id/action_home2_to_subscriptions"
app:destination="@id/subscriptions"
app:popUpTo="@id/home2" />
2021-12-28 01:37:07 +05:30
</fragment>
2021-12-09 18:25:32 +05:30
<fragment
android:id="@+id/subscriptions"
2022-02-01 21:22:06 +05:30
android:name="com.github.libretube.Subscriptions"
2021-12-09 18:25:32 +05:30
android:label="fragment_subscriptions"
2021-12-28 01:37:07 +05:30
tools:layout="@layout/fragment_subscriptions" >
<action
android:id="@+id/action_subscriptions_to_home2"
app:destination="@id/home2"
app:popUpTo="@id/subscriptions" />
2021-12-28 01:37:07 +05:30
</fragment>
2021-12-09 18:25:32 +05:30
<fragment
android:id="@+id/library"
2022-02-01 21:22:06 +05:30
android:name="com.github.libretube.Library"
2021-12-09 18:25:32 +05:30
android:label="fragment_library"
2021-12-28 01:37:07 +05:30
tools:layout="@layout/fragment_library" >
</fragment>
<fragment
android:id="@+id/searchFragment"
2022-02-01 21:22:06 +05:30
android:name="com.github.libretube.SearchFragment"
2021-12-28 01:37:07 +05:30
android:label="fragment_search"
tools:layout="@layout/fragment_search" />
2021-12-09 18:25:32 +05:30
</navigation>