Android: Support scaling touchscreen buttons

This commit is contained in:
Connor McLaughlin
2021-04-10 18:51:09 +10:00
parent 3c83ef4939
commit 20ed6913a9
9 changed files with 181 additions and 57 deletions

View File

@ -6,22 +6,11 @@
android:layout_height="match_parent">
<Button
android:id="@+id/stop_editing"
android:id="@+id/options"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/touchscreen_controller_stop_editing"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<Button
android:id="@+id/reset_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="64dp"
android:text="@string/touchscreen_controller_reset_layout"
android:text="@string/touchscreen_controller_edit_menu"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent"