Skip to content
Snippets Groups Projects
Commit b7c22a28 authored by Ghazi Akmal Fauzan's avatar Ghazi Akmal Fauzan
Browse files

fix: styling stretched on big phone screen

parent 9af6a0bd
No related merge requests found
......@@ -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"
......
......@@ -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"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment