]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/res/layout/activity_new_transaction.xml
replace <fragment> with FragmentContainerView as recommended
[mobile-ledger.git] / app / src / main / res / layout / activity_new_transaction.xml
index 7a37dbf841e93a42c9b07c8b1ca5c656d21279fa..d95d8fb00e340eea936848640f588f9b76c05735 100644 (file)
 
         </com.google.android.material.appbar.AppBarLayout>
 
-        <fragment
+        <androidx.fragment.app.FragmentContainerView
             android:id="@+id/new_transaction_nav"
             android:name="androidx.navigation.fragment.NavHostFragment"
             android:layout_width="0dp"
             android:layout_height="0dp"
+            app:defaultNavHost="true"
             app:layout_constraintBottom_toBottomOf="parent"
             app:layout_constraintEnd_toEndOf="parent"
             app:layout_constraintStart_toStartOf="parent"