mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 01:07:47 +00:00
54 lines
1.9 KiB
XML
54 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/sessionRestoreBanner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/core_grey_60"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="8dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingRight="8dp"
|
|
android:visibility="visible"
|
|
tools:visibility="visible">
|
|
|
|
<TextView
|
|
android:id="@+id/restoreText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:fontFamily="sans-serif-light"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp"
|
|
tools:text="@string/session_restore_banner_message" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="right"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/dismissButton"
|
|
style="@style/Widget.AppCompat.Button.Borderless"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:text="@string/session_restore_banner_dismiss_button_title" />
|
|
|
|
<android.support.v4.widget.Space
|
|
android:layout_width="8dp"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<Button
|
|
android:id="@+id/restoreButton"
|
|
style="@style/Button.Borderless"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:text="@string/session_restore_banner_restore_button_title" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|