mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 10:35:19 +00:00
afe90200f1
Themed common/dialog button styles.
42 lines
1.9 KiB
XML
42 lines
1.9 KiB
XML
<?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">
|
||
|
||
<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="You’re seeing this because you have a secondary device linked to your Session ID. To improve reliability and stability, we’ve decided to temporarily disable Session’s 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"
|
||
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>
|