session-android/res/layout/fragment_multi_device_removal_bottom_sheet.xml

42 lines
1.9 KiB
XML
Raw Normal View History

2020-07-30 16:53:34 +10:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:gravity="center_horizontal"
android:paddingLeft="@dimen/very_large_spacing"
android:paddingTop="@dimen/large_spacing"
android:paddingRight="@dimen/very_large_spacing"
android:paddingBottom="@dimen/very_large_spacing"
app:behavior_hideable="true"
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
2020-07-30 16:53:34 +10:00
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Changes to Multi-Device"
android:textColor="@color/text"
android:textStyle="bold"
android:textSize="@dimen/large_font_size" />
<TextView
android:id="@+id/explanationTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/large_spacing"
android:text="Youre seeing this because you have a secondary device linked to your Session ID. To improve reliability and stability, weve decided to temporarily disable Sessions multi-device functionality. Device linking has been disabled, and existing secondary clients will be erased on %s.\n\nTo read more about this change, visit the Session FAQ at getsession.org/faq"
android:textColor="@color/text"
android:textSize="@dimen/small_font_size" />
<Button
style="@style/Widget.Session.Button.Common.ProminentOutline"
2020-07-30 16:53:34 +10:00
android:id="@+id/okButton"
android:layout_width="240dp"
android:layout_height="@dimen/medium_button_height"
android:layout_marginTop="@dimen/large_spacing"
android:text="@string/ok" />
</LinearLayout>