fixes movement from camera fragment

This commit is contained in:
2022-01-03 13:07:19 +01:00
parent 14e583c164
commit 0a94cb517c
4 changed files with 15 additions and 19 deletions

View File

@ -6,9 +6,9 @@
android:layout_height="match_parent"
tools:context="com.maenle.bump.ui.SecondFragment">
<!--androidx.camera.view.PreviewView
<androidx.camera.view.PreviewView
android:id="@+id/viewFinder"
android:layout_width="match_parent"
android:layout_height="match_parent" /-->
android:layout_height="match_parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@ -12,19 +12,9 @@
tools:layout="@layout/fragment_first">
<action
android:id="@+id/action_FirstFragment_to_SecondFragment"
android:id="@+id/action_FirstFragment_to_CameraFragment"
app:destination="@id/CameraFragment" />
</fragment>
<fragment
android:id="@+id/SecondFragment"
android:name="com.maenle.bump.ui.SecondFragment"
android:label="@string/second_fragment_label"
tools:layout="@layout/fragment_second">
<action
android:id="@+id/action_SecondFragment_to_FirstFragment"
app:destination="@id/FirstFragment" />
</fragment>
<fragment
android:id="@+id/CameraFragment"
android:name="com.maenle.bump.ui.CameraFragment"
@ -32,7 +22,7 @@
tools:layout="@layout/fragment_camera">
<action
android:id="@+id/action_SecondFragment_to_FirstFragment"
android:id="@+id/action_CameraFragment_to_FirstFragment"
app:destination="@id/FirstFragment" />
</fragment>
</navigation>