1
0
Fork 0

For #7752, #7753: Adjust touch targets for elements in crash reporter.

master
mcarare 2020-06-04 15:18:29 +03:00 committed by Mihai Adrian
parent f47c80d10b
commit 741fa799ad
2 changed files with 20 additions and 12 deletions

View File

@ -1,10 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
<?xml version="1.0" encoding="utf-8"?><!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<shape android:shape="rectangle" xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="4dp" />
<size android:height="36dp" android:width="158dp" />
<solid android:color="#312A65" />
</shape>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:bottom="6dp"
android:top="6dp">
<shape android:shape="rectangle">
<corners android:radius="4dp" />
<size
android:width="158dp"
android:height="36dp" />
<solid android:color="#312A65" />
</shape>
</item>
</layer-list>

View File

@ -40,8 +40,10 @@
<CheckBox
android:id="@+id/sendCrashCheckbox"
android:layout_width="0dp"
android:layout_height="32dp"
android:layout_marginBottom="20dp"
android:layout_height="48dp"
android:paddingTop="6dp"
android:paddingBottom="6dp"
android:layout_marginBottom="8dp"
android:buttonTint="?accentHighContrast"
android:checked="true"
android:text="@string/tab_crash_send_report"
@ -55,7 +57,7 @@
<Button
android:id="@+id/restoreTabButton"
android:layout_width="0dp"
android:layout_height="36dp"
android:layout_height="48dp"
android:layout_marginStart="@dimen/crash_reporter_close_tab_button_horizontal_margin"
android:layout_marginEnd="@dimen/crash_reporter_close_tab_button_horizontal_margin"
android:layout_marginBottom="@dimen/crash_reporter_close_tab_button_bottom_margin"
@ -74,7 +76,7 @@
<Button
android:id="@+id/closeTabButton"
android:layout_width="0dp"
android:layout_height="36dp"
android:layout_height="48dp"
android:layout_marginStart="@dimen/crash_reporter_close_tab_button_horizontal_margin"
android:layout_marginEnd="@dimen/crash_reporter_close_tab_button_horizontal_margin"
android:layout_marginBottom="@dimen/crash_reporter_close_tab_button_bottom_margin"