2019-12-06 13:00:08 +11:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-01-28 11:13:07 +11:00
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-08-24 16:46:12 +10:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2019-12-06 16:33:17 +11:00
|
|
|
android:id="@+id/sessionRestoreBanner"
|
2019-12-06 13:00:08 +11:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-08-24 16:46:12 +10:00
|
|
|
android:background="?dialog_background_color"
|
2019-12-06 13:00:08 +11:00
|
|
|
android:orientation="vertical"
|
2020-01-28 11:13:07 +11:00
|
|
|
android:elevation="10dp">
|
|
|
|
|
|
|
|
<View
|
2019-12-06 13:00:08 +11:00
|
|
|
android:layout_width="match_parent"
|
2020-01-28 11:13:07 +11:00
|
|
|
android:layout_height="1px"
|
2020-08-24 13:34:34 +10:00
|
|
|
android:background="?android:dividerHorizontal" />
|
2019-12-06 13:00:08 +11:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-28 11:13:07 +11:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/medium_spacing"
|
|
|
|
android:gravity="center_horizontal">
|
2019-12-06 13:00:08 +11:00
|
|
|
|
2020-01-28 11:13:07 +11:00
|
|
|
<TextView
|
2019-12-06 13:00:08 +11:00
|
|
|
android:layout_width="wrap_content"
|
2019-12-06 16:33:17 +11:00
|
|
|
android:layout_height="wrap_content"
|
2020-01-28 11:13:07 +11:00
|
|
|
android:text="Session Out of Sync"
|
|
|
|
android:textColor="@color/text"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:textSize="@dimen/medium_font_size" />
|
2019-12-06 13:00:08 +11:00
|
|
|
|
2020-01-28 11:13:07 +11:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/messageTextView"
|
2019-12-06 13:00:08 +11:00
|
|
|
android:layout_width="wrap_content"
|
2019-12-06 16:33:17 +11:00
|
|
|
android:layout_height="wrap_content"
|
2020-01-28 11:13:07 +11:00
|
|
|
android:layout_marginTop="@dimen/small_spacing"
|
|
|
|
android:textColor="@color/text"
|
|
|
|
android:textSize="@dimen/small_font_size"
|
2020-08-24 16:46:12 +10:00
|
|
|
android:textAlignment="center"
|
|
|
|
tools:text="@string/session_reset_banner_message"/>
|
2020-01-28 11:13:07 +11:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-08-24 16:46:12 +10:00
|
|
|
android:layout_marginTop="@dimen/medium_spacing"
|
2020-01-28 11:13:07 +11:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<Button
|
2020-08-24 16:46:12 +10:00
|
|
|
style="@style/Widget.Session.Button.Dialog.Unimportant"
|
2020-01-28 11:13:07 +11:00
|
|
|
android:id="@+id/dismissButton"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/small_button_height"
|
|
|
|
android:layout_weight="1"
|
2020-05-25 17:11:15 +10:00
|
|
|
android:text="@string/session_reset_banner_dismiss_button_title" />
|
2020-01-28 11:13:07 +11:00
|
|
|
|
|
|
|
<Button
|
2020-08-24 16:46:12 +10:00
|
|
|
style="@style/Widget.Session.Button.Dialog.Prominent"
|
2020-01-28 11:13:07 +11:00
|
|
|
android:id="@+id/restoreButton"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/small_button_height"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_marginLeft="@dimen/medium_spacing"
|
2020-05-25 17:11:15 +10:00
|
|
|
android:text="@string/session_reset_banner_restore_button_title" />
|
2020-01-28 11:13:07 +11:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-12-06 13:00:08 +11:00
|
|
|
</LinearLayout>
|
|
|
|
|
2020-01-28 11:13:07 +11:00
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1px"
|
2020-08-24 13:34:34 +10:00
|
|
|
android:background="?android:dividerHorizontal" />
|
2020-01-28 11:13:07 +11:00
|
|
|
|
2019-12-06 13:00:08 +11:00
|
|
|
</LinearLayout>
|