
Do a couple of UI changes I thought of over this week: - Make the detail header text neutral, mostly so I can make it so that the accent only corresponds to active thingsd - Remove the vanity elevation from the cover images. This is mostly to abide by Material Design. - Move the about screen to it's own menu slot on the main fragment.
77 lines
No EOL
3.3 KiB
XML
77 lines
No EOL
3.3 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"
|
|
app:startDestination="@id/loading_fragment">
|
|
<fragment
|
|
android:id="@+id/loading_fragment"
|
|
android:name="org.oxycblt.auxio.loading.LoadingFragment"
|
|
android:label="LoadingFragment"
|
|
tools:layout="@layout/fragment_loading">
|
|
<action
|
|
android:id="@+id/action_to_main"
|
|
app:destination="@id/main_fragment"
|
|
app:enterAnim="@anim/nav_default_enter_anim"
|
|
app:exitAnim="@anim/nav_default_exit_anim"
|
|
app:launchSingleTop="true"
|
|
app:popEnterAnim="@anim/nav_default_pop_enter_anim"
|
|
app:popExitAnim="@anim/nav_default_pop_exit_anim"
|
|
app:popUpTo="@id/loading_fragment"
|
|
app:popUpToInclusive="true" />
|
|
</fragment>
|
|
<fragment
|
|
android:id="@+id/main_fragment"
|
|
android:name="org.oxycblt.auxio.MainFragment"
|
|
android:label="MainFragment"
|
|
tools:layout="@layout/fragment_main">
|
|
<action
|
|
android:id="@+id/action_go_to_playback"
|
|
app:destination="@id/playback_fragment"
|
|
app:enterAnim="@anim/anim_nav_slide_up"
|
|
app:exitAnim="@anim/anim_stationary"
|
|
app:popEnterAnim="@anim/anim_stationary"
|
|
app:popExitAnim="@anim/anim_nav_slide_down" />
|
|
<action
|
|
android:id="@+id/action_show_settings"
|
|
app:destination="@id/settings_fragment"
|
|
app:enterAnim="@anim/anim_nav_slide_up"
|
|
app:exitAnim="@anim/anim_stationary"
|
|
app:popEnterAnim="@anim/anim_stationary"
|
|
app:popExitAnim="@anim/anim_nav_slide_down" />
|
|
<action
|
|
android:id="@+id/action_show_about"
|
|
app:destination="@id/about_fragment"
|
|
app:enterAnim="@anim/anim_nav_slide_up"
|
|
app:exitAnim="@anim/anim_stationary"
|
|
app:popEnterAnim="@anim/anim_stationary"
|
|
app:popExitAnim="@anim/anim_nav_slide_down" />
|
|
</fragment>
|
|
<fragment
|
|
android:id="@+id/playback_fragment"
|
|
android:name="org.oxycblt.auxio.playback.PlaybackFragment"
|
|
android:label="PlaybackFragment"
|
|
tools:layout="@layout/fragment_playback">
|
|
<action
|
|
android:id="@+id/action_show_queue"
|
|
app:destination="@id/queue_fragment"
|
|
app:enterAnim="@anim/anim_nav_slide_up"
|
|
app:exitAnim="@anim/anim_stationary"
|
|
app:popEnterAnim="@anim/anim_stationary"
|
|
app:popExitAnim="@anim/anim_nav_slide_down" />
|
|
</fragment>
|
|
<fragment
|
|
android:id="@+id/queue_fragment"
|
|
android:name="org.oxycblt.auxio.playback.queue.QueueFragment"
|
|
android:label="QueueFragment"
|
|
tools:layout="@layout/fragment_queue" />
|
|
<fragment
|
|
android:id="@+id/about_fragment"
|
|
android:name="org.oxycblt.auxio.settings.AboutFragment"
|
|
android:label="dialog_about"
|
|
tools:layout="@layout/fragment_about" />
|
|
<fragment
|
|
android:id="@+id/settings_fragment"
|
|
android:name="org.oxycblt.auxio.settings.SettingsFragment"
|
|
android:label="fragment_settings"
|
|
tools:layout="@layout/fragment_settings" />
|
|
</navigation> |