Skip to content

Commit

Permalink
Layout the crash dialog checkbox using relative layout center rules i…
Browse files Browse the repository at this point in the history
…nstead of using a topMargin (#1703)
  • Loading branch information
MortimerGoro authored and keianhzo committed Aug 29, 2019
1 parent 5ccdcab commit 42af969
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/src/main/res/layout/crash_dialog.xml
Expand Up @@ -38,7 +38,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/headerText"
android:layout_centerInParent="true"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:layout_marginStart="50dp"
android:layout_marginTop="15dp"
android:layout_marginEnd="50dp"
Expand All @@ -51,9 +53,9 @@
android:id="@+id/crashSendDataCheckbox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/crashMessage"
android:layout_centerHorizontal="true"
android:layout_marginTop="25dp"
android:layout_above="@id/buttonsLayout"
android:layout_below="@+id/crashMessage"
android:background="@android:color/transparent"
android:button="@drawable/checkbox"
android:gravity="center_vertical"
Expand Down

0 comments on commit 42af969

Please sign in to comment.