mirror of
https://github.com/fumiama/copymanga.git
synced 2026-06-16 06:20:27 +08:00
215 lines
8.6 KiB
XML
215 lines
8.6 KiB
XML
<?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/mobile_navigation"
|
|
app:startDestination="@+id/nav_home">
|
|
|
|
<fragment
|
|
android:id="@+id/nav_home"
|
|
android:name="top.fumiama.copymanga.ui.home.HomeFragment"
|
|
android:label="@string/menu_home"
|
|
tools:layout="@layout/fragment_home" >
|
|
<action
|
|
android:id="@+id/action_nav_home_to_nav_book"
|
|
app:destination="@id/nav_book"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_out_left_exit"
|
|
app:popExitAnim="@anim/slide_in_right_exit" />
|
|
<action
|
|
android:id="@+id/action_nav_home_to_nav_topic"
|
|
app:destination="@id/nav_topic"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_out_left_exit"
|
|
app:popExitAnim="@anim/slide_in_right_exit"/>
|
|
<action
|
|
android:id="@+id/action_nav_home_to_nav_recommend"
|
|
app:destination="@id/nav_recommend"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_out_left_exit"
|
|
app:popExitAnim="@anim/slide_in_right_exit"/>
|
|
<action
|
|
android:id="@+id/action_nav_home_to_nav_newest"
|
|
app:destination="@id/nav_newest"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_out_left_exit"
|
|
app:popExitAnim="@anim/slide_in_right_exit"/>
|
|
<action
|
|
android:id="@+id/action_nav_home_to_nav_finish"
|
|
app:destination="@id/nav_finish"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_out_left_exit"
|
|
app:popExitAnim="@anim/slide_in_right_exit"/>
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/nav_sort"
|
|
android:name="top.fumiama.copymanga.ui.cardflow.sort.SortFragment"
|
|
android:label="@string/menu_sort"
|
|
tools:layout="@layout/fragment_sort" >
|
|
<action
|
|
android:id="@+id/action_nav_sort_to_nav_book"
|
|
app:destination="@id/nav_book"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_out_left_exit"
|
|
app:popExitAnim="@anim/slide_in_right_exit"/>
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/nav_rank"
|
|
android:name="top.fumiama.copymanga.ui.cardflow.rank.RankFragment"
|
|
android:label="@string/menu_rank"
|
|
tools:layout="@layout/fragment_rank" >
|
|
<action
|
|
android:id="@+id/action_nav_rank_to_nav_book"
|
|
app:destination="@id/nav_book"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_out_left_exit"
|
|
app:popExitAnim="@anim/slide_in_right_exit"/>
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/nav_sub"
|
|
android:name="top.fumiama.copymanga.ui.sub.SubFragment"
|
|
android:label="@string/menu_sub"
|
|
tools:layout="@layout/fragment_sub" />
|
|
|
|
<fragment
|
|
android:id="@+id/nav_history"
|
|
android:name="top.fumiama.copymanga.ui.history.HistoryFragment"
|
|
android:label="@string/menu_history"
|
|
tools:layout="@layout/fragment_history" />
|
|
|
|
<fragment
|
|
android:id="@+id/nav_download"
|
|
android:name="top.fumiama.copymanga.ui.download.DownloadFragment"
|
|
android:label="@string/menu_download"
|
|
tools:layout="@layout/fragment_download" >
|
|
<action
|
|
android:id="@+id/action_nav_download_to_nav_group"
|
|
app:destination="@id/nav_group"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_out_left_exit"
|
|
app:popExitAnim="@anim/slide_in_right_exit"/>
|
|
<action
|
|
android:id="@+id/action_nav_download_self"
|
|
app:destination="@id/nav_download"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_out_left_exit"
|
|
app:popExitAnim="@anim/slide_in_right_exit"/>
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/nav_settings"
|
|
android:name="top.fumiama.copymanga.ui.settings.SettingsFragment"
|
|
android:label="@string/action_settings"
|
|
tools:layout="@layout/fragment_settings" >
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/nav_book"
|
|
android:name="top.fumiama.copymanga.ui.book.BookFragment"
|
|
android:label="@string/page_book"
|
|
tools:layout="@layout/fragment_book" >
|
|
<action
|
|
android:id="@+id/action_nav_book_to_nav_chapter"
|
|
app:destination="@id/nav_chapter"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_out_left_exit"
|
|
app:popExitAnim="@anim/slide_in_right_exit"/>
|
|
<action
|
|
android:id="@+id/action_nav_book_to_nav_group"
|
|
app:destination="@id/nav_group"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_out_left_exit"
|
|
app:popExitAnim="@anim/slide_in_right_exit"/>
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/nav_chapter"
|
|
android:name="top.fumiama.copymanga.ui.chapter.ChapterFragment"
|
|
android:label="@string/page_chapter"
|
|
tools:layout="@layout/fragment_chapters" >
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/nav_topic"
|
|
android:name="top.fumiama.copymanga.ui.cardflow.topic.TopicFragment"
|
|
android:label="@string/page_topic"
|
|
tools:layout="@layout/fragment_topic" >
|
|
<action
|
|
android:id="@+id/action_nav_topic_to_nav_book"
|
|
app:destination="@id/nav_book"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_out_left_exit"
|
|
app:popExitAnim="@anim/slide_in_right_exit"/>
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/nav_recommend"
|
|
android:name="top.fumiama.copymanga.ui.cardflow.recommend.RecFragment"
|
|
android:label="@string/manga_rec"
|
|
tools:layout="@layout/fragment_recommend" >
|
|
<action
|
|
android:id="@+id/action_nav_recommend_to_nav_book"
|
|
app:destination="@id/nav_book"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_out_left_exit"
|
|
app:popExitAnim="@anim/slide_in_right_exit"/>
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/nav_newest"
|
|
android:name="top.fumiama.copymanga.ui.cardflow.newest.NewestFragment"
|
|
android:label="@string/new_list"
|
|
tools:layout="@layout/fragment_newest" >
|
|
<action
|
|
android:id="@+id/action_nav_newest_to_nav_book"
|
|
app:destination="@id/nav_book"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_out_left_exit"
|
|
app:popExitAnim="@anim/slide_in_right_exit"/>
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/nav_finish"
|
|
android:name="top.fumiama.copymanga.ui.cardflow.finish.FinishFragment"
|
|
android:label="@string/complete"
|
|
tools:layout="@layout/fragment_newest" >
|
|
<action
|
|
android:id="@+id/action_nav_finish_to_nav_book"
|
|
app:destination="@id/nav_book"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_out_left_exit"
|
|
app:popExitAnim="@anim/slide_in_right_exit"/>
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/nav_group"
|
|
android:name="top.fumiama.copymanga.ui.comicdl.ComicDlFragment"
|
|
android:label="@string/page_group"
|
|
tools:layout="@layout/fragment_dlcomic" >
|
|
<action
|
|
android:id="@+id/action_nav_group_to_nav_book"
|
|
app:destination="@id/nav_book"
|
|
app:enterAnim="@anim/slide_in_right"
|
|
app:exitAnim="@anim/slide_out_left"
|
|
app:popEnterAnim="@anim/slide_out_left_exit"
|
|
app:popExitAnim="@anim/slide_in_right_exit"/>
|
|
</fragment>
|
|
</navigation> |