|
|
@ -6,8 +6,7 @@
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:elevation="4dp"
|
|
|
|
android:elevation="4dp">
|
|
|
|
android:padding="@dimen/medium_spacing">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
@ -21,6 +20,8 @@
|
|
|
|
android:id="@+id/dialogDescriptionText"
|
|
|
|
android:id="@+id/dialogDescriptionText"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
|
|
|
|
android:layout_marginEnd="20dp"
|
|
|
|
android:layout_marginTop="@dimen/large_spacing"
|
|
|
|
android:layout_marginTop="@dimen/large_spacing"
|
|
|
|
android:text="@string/dialog_clear_all_data_message"
|
|
|
|
android:text="@string/dialog_clear_all_data_message"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:textAlignment="center"
|
|
|
@ -46,16 +47,15 @@
|
|
|
|
style="@style/Widget.Session.Button.Dialog.DestructiveText"
|
|
|
|
style="@style/Widget.Session.Button.Dialog.DestructiveText"
|
|
|
|
android:id="@+id/clearAllDataButton"
|
|
|
|
android:id="@+id/clearAllDataButton"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/small_button_height"
|
|
|
|
android:layout_height="@dimen/dialog_button_height"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_marginStart="@dimen/medium_spacing"
|
|
|
|
|
|
|
|
android:text="@string/dialog_clear_all_data_clear" />
|
|
|
|
android:text="@string/dialog_clear_all_data_clear" />
|
|
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
<Button
|
|
|
|
style="@style/Widget.Session.Button.Dialog.UnimportantText"
|
|
|
|
style="@style/Widget.Session.Button.Dialog.UnimportantText"
|
|
|
|
android:id="@+id/cancelButton"
|
|
|
|
android:id="@+id/cancelButton"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/small_button_height"
|
|
|
|
android:layout_height="@dimen/dialog_button_height"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="@string/cancel" />
|
|
|
|
android:text="@string/cancel" />
|
|
|
|
|
|
|
|
|
|
|
|