Fixed dialog default titlebar shown on android 5.1, added spacing for control buttons in EditVariable dialog to prevent accidently triggering the cancel/add buttons

This commit is contained in:
2020-06-28 21:22:46 -05:00
parent 27ca41a416
commit 568bebfb6d
6 changed files with 15 additions and 4 deletions

View File

@@ -62,6 +62,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/dialog_button_margin"
android:orientation="horizontal">
<Button

View File

@@ -18,7 +18,7 @@
<ImageButton
android:id="@+id/rename_configuration"
style="@style/Widget.AppCompat.ImageButton"
style="@style/Button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.8"
@@ -28,7 +28,7 @@
<ImageButton
android:id="@+id/delete_configuration"
style="@style/Widget.AppCompat.ImageButton"
style="@style/Button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="0.8"

View File

@@ -27,7 +27,7 @@
style="@style/Button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_weight="0.1"
android:src="@drawable/search" />
</LinearLayout>

View File

@@ -14,4 +14,5 @@
<dimen name="button_margin_bottom">8dp</dimen>
<dimen name="dialogTitleTextSize">18dp</dimen>
<dimen name="dialog_button_margin">36dp</dimen>
</resources>