2020-01-09 04:52:40 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-05-20 05:44:21 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2020-01-09 04:52:40 +00:00
|
|
|
android:background="@drawable/default_dialog_background_inset"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingLeft="32dp"
|
|
|
|
android:paddingTop="@dimen/medium_spacing"
|
|
|
|
android:paddingRight="32dp"
|
|
|
|
android:paddingBottom="@dimen/medium_spacing">
|
|
|
|
|
|
|
|
<RelativeLayout
|
2020-05-20 05:44:21 +00:00
|
|
|
android:id="@+id/qrCodeImageViewContainer"
|
2020-01-09 04:52:40 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/small_spacing"
|
|
|
|
android:gravity="center">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/qrCodeImageView"
|
|
|
|
android:layout_width="128dp"
|
|
|
|
android:layout_height="128dp" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2020-05-20 05:44:21 +00:00
|
|
|
<com.github.ybq.android.spinkit.SpinKitView
|
|
|
|
style="@style/SpinKitView.DoubleBounce"
|
|
|
|
android:id="@+id/spinner"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:SpinKit_Color="@color/text" />
|
|
|
|
|
2020-01-09 04:52:40 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/titleTextView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/large_spacing"
|
2020-05-25 07:11:15 +00:00
|
|
|
android:text="@string/dialog_link_device_master_mode_title_1"
|
2020-01-09 04:52:40 +00:00
|
|
|
android:textColor="@color/text"
|
|
|
|
android:textStyle="bold"
|
|
|
|
android:textSize="@dimen/medium_font_size" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/explanationTextView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/large_spacing"
|
2020-05-25 07:11:15 +00:00
|
|
|
android:text="@string/dialog_link_device_master_mode_explanation_1"
|
2020-01-09 04:52:40 +00:00
|
|
|
android:textColor="@color/text"
|
|
|
|
android:textSize="@dimen/small_font_size"
|
|
|
|
android:textAlignment="center" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/mnemonicTextView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
android:text="puffin circle idled"
|
|
|
|
android:textColor="@color/text"
|
|
|
|
android:textSize="@dimen/small_font_size"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<LinearLayout
|
2020-05-20 05:44:21 +00:00
|
|
|
android:id="@+id/buttonContainer"
|
2020-01-09 04:52:40 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="@dimen/large_spacing"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<Button
|
2020-08-24 06:46:12 +00:00
|
|
|
style="@style/Widget.Session.Button.Dialog.Unimportant"
|
2020-01-09 04:52:40 +00:00
|
|
|
android:id="@+id/cancelButton"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/small_button_height"
|
|
|
|
android:layout_weight="1"
|
2020-05-25 07:11:15 +00:00
|
|
|
android:text="@string/cancel" />
|
2020-01-09 04:52:40 +00:00
|
|
|
|
|
|
|
<Button
|
2020-08-24 06:46:12 +00:00
|
|
|
style="@style/Widget.Session.Button.Dialog.Prominent"
|
2020-01-09 04:52:40 +00:00
|
|
|
android:id="@+id/authorizeButton"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/small_button_height"
|
|
|
|
android:layout_weight="1"
|
2020-07-17 02:10:25 +00:00
|
|
|
android:layout_marginStart="@dimen/medium_spacing"
|
2020-05-25 07:11:15 +00:00
|
|
|
android:text="@string/dialog_link_device_master_mode_authorize_button_title"
|
2020-01-09 04:52:40 +00:00
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|