ナビゲーション構成変更

This commit is contained in:
r-ca 2023-12-17 15:31:01 +09:00
parent a0ce6bf7f2
commit c3d06c4d1f
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9
2 changed files with 30 additions and 17 deletions

View File

@ -1,6 +1,30 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<navigation xmlns:android="http://schemas.android.com/apk/res/android" <navigation xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/feature_debug_internal_navigation"> xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/feature_debug_internal_navigation"
app:startDestination="@id/debugMenuTopFragment">
<fragment
android:id="@+id/debugMenuTopFragment"
android:name="one.nem.lacerta.feature.debug.DebugMenuTopFragment"
android:label="fragment_debug_menu_top"
tools:layout="@layout/fragment_debug_menu_top" >
<action
android:id="@+id/action_debugMenuTopFragment_to_debugMenuMetaDataFragment"
app:destination="@id/debugMenuMetaDataFragment" />
<action
android:id="@+id/action_debugMenuTopFragment_to_debugMenuDocumentTesterTopFragment"
app:destination="@id/debugMenuDocumentTesterTopFragment" />
</fragment>
<fragment
android:id="@+id/debugMenuMetaDataFragment"
android:name="one.nem.lacerta.feature.debug.DebugMenuMetaDataFragment"
android:label="fragment_debug_menu_meta_data"
tools:layout="@layout/fragment_debug_menu_meta_data" />
<fragment
android:id="@+id/debugMenuDocumentTesterTopFragment"
android:name="one.nem.lacerta.feature.debug.DebugMenuDocumentTesterTopFragment"
android:label="fragment_debug_menu_document_tester_top"
tools:layout="@layout/fragment_debug_menu_document_tester_top" />
</navigation> </navigation>

View File

@ -3,21 +3,10 @@
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/feature_debug_navigation" android:id="@+id/feature_debug_navigation"
app:startDestination="@id/debugMenuTopFragment"> app:startDestination="@id/debugMenuContainerFragment">
<fragment <fragment
android:id="@+id/debugMenuTopFragment" android:id="@+id/debugMenuContainerFragment"
android:name="one.nem.lacerta.feature.debug.DebugMenuTopFragment" android:name="one.nem.lacerta.feature.debug.DebugMenuContainerFragment"
android:label="fragment_debug_menu_top" android:label="fragment_debug_menu_container"
tools:layout="@layout/fragment_debug_menu_top" > tools:layout="@layout/fragment_debug_menu_container" />
<action
android:id="@+id/action_debugMenuTopFragment_to_debugMenuMetaDataFragment"
app:destination="@id/debugMenuMetaDataFragment" />
</fragment>
<fragment
android:id="@+id/debugMenuMetaDataFragment"
android:name="one.nem.lacerta.feature.debug.DebugMenuMetaDataFragment"
android:label="fragment_debug_menu_meta_data"
tools:layout="@layout/fragment_debug_menu_meta_data" />
</navigation> </navigation>