diff --git a/app/src/main/res/layout-land/fragment_twibbon.xml b/app/src/main/res/layout-land/fragment_twibbon.xml index 57974cc72fccde97f379759a032a4d3c76bb1650..aecb60af05e93f8c3fdb0092731bb556e97adb3d 100644 --- a/app/src/main/res/layout-land/fragment_twibbon.xml +++ b/app/src/main/res/layout-land/fragment_twibbon.xml @@ -23,13 +23,13 @@ app:layout_constraintEnd_toStartOf="@id/captureButton" app:layout_constraintBottom_toBottomOf="parent" android:layout_marginStart="50dp" - android:layout_marginEnd="50dp" android:layout_gravity="center"> <ImageButton android:id="@+id/leftButton" - android:layout_width="35dp" + android:layout_width="0dp" android:layout_height="35dp" + android:layout_weight="1" android:layout_gravity="start|center" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toStartOf="@id/previewView" @@ -66,8 +66,9 @@ <ImageButton android:id="@+id/rightButton" - android:layout_width="35dp" + android:layout_width="0dp" android:layout_height="35dp" + android:layout_weight="1" android:layout_gravity="end|center" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/previewView" diff --git a/app/src/main/res/layout/fragment_twibbon.xml b/app/src/main/res/layout/fragment_twibbon.xml index 4a935810ed2e244451f5446160112aa0e68cfe11..950dfce9f19885a8431162842db0f3837d29dc81 100644 --- a/app/src/main/res/layout/fragment_twibbon.xml +++ b/app/src/main/res/layout/fragment_twibbon.xml @@ -28,8 +28,9 @@ <ImageButton android:id="@+id/leftButton" - android:layout_width="35dp" + android:layout_width="0dp" android:layout_height="35dp" + android:layout_weight="1" android:layout_gravity="start|center" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toStartOf="@id/previewView" @@ -40,9 +41,8 @@ android:contentDescription="@string/left_arrow" /> <FrameLayout - android:layout_width="0dp" + android:layout_width="300dp" android:layout_height="300dp" - android:layout_weight="1" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" android:layout_gravity="center" > @@ -65,8 +65,9 @@ <ImageButton android:id="@+id/rightButton" - android:layout_width="35dp" + android:layout_width="0dp" android:layout_height="35dp" + android:layout_weight="1" android:layout_gravity="end|center" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@id/previewView"