2019-12-18 11:36:09 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:id="@+id/contentView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@drawable/default_session_background"
|
2020-01-09 11:35:43 +11:00
|
|
|
android:gravity="center_horizontal"
|
2019-12-18 11:36:09 +01:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<EditText
|
2020-01-14 10:08:39 +11:00
|
|
|
style="@style/SmallSessionEditText"
|
2019-12-18 11:36:09 +01:00
|
|
|
android:id="@+id/publicKeyEditText"
|
|
|
|
android:layout_width="match_parent"
|
2020-08-04 16:27:39 +10:00
|
|
|
android:layout_height="54dp"
|
2020-01-07 10:52:50 +11:00
|
|
|
android:layout_marginLeft="@dimen/large_spacing"
|
|
|
|
android:layout_marginTop="@dimen/large_spacing"
|
|
|
|
android:layout_marginRight="@dimen/large_spacing"
|
2020-08-04 16:27:39 +10:00
|
|
|
android:paddingTop="0dp"
|
|
|
|
android:paddingBottom="0dp"
|
|
|
|
android:gravity="center_vertical"
|
2020-08-05 10:01:25 +10:00
|
|
|
android:inputType="textMultiLine"
|
|
|
|
android:maxLines="2"
|
|
|
|
android:imeOptions="actionDone"
|
2020-05-25 16:12:24 +10:00
|
|
|
android:hint="@string/fragment_enter_public_key_edit_text_hint" />
|
2019-12-18 11:36:09 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-07 10:52:50 +11:00
|
|
|
android:layout_marginLeft="@dimen/large_spacing"
|
2019-12-18 11:36:09 +01:00
|
|
|
android:layout_marginTop="@dimen/medium_spacing"
|
2020-01-07 10:52:50 +11:00
|
|
|
android:layout_marginRight="@dimen/large_spacing"
|
2020-07-29 14:20:29 +10:00
|
|
|
android:textSize="@dimen/very_small_font_size"
|
2019-12-18 11:36:09 +01:00
|
|
|
android:textColor="@color/text"
|
|
|
|
android:alpha="0.6"
|
|
|
|
android:textAlignment="center"
|
2020-05-25 16:12:24 +10:00
|
|
|
android:text="@string/fragment_enter_public_key_explanation" />
|
2019-12-18 11:36:09 +01:00
|
|
|
|
2020-05-11 16:19:26 +10:00
|
|
|
<org.thoughtcrime.securesms.loki.views.LabeledSeparatorView
|
2019-12-18 11:36:09 +01:00
|
|
|
android:id="@+id/separatorView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="32dp"
|
2020-01-07 10:52:50 +11:00
|
|
|
android:layout_marginLeft="@dimen/large_spacing"
|
2019-12-18 11:36:09 +01:00
|
|
|
android:layout_marginTop="@dimen/large_spacing"
|
2020-01-07 10:52:50 +11:00
|
|
|
android:layout_marginRight="@dimen/large_spacing" />
|
2019-12-18 11:36:09 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/publicKeyTextView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-07 10:52:50 +11:00
|
|
|
android:layout_marginLeft="@dimen/large_spacing"
|
2019-12-18 11:36:09 +01:00
|
|
|
android:layout_marginTop="@dimen/large_spacing"
|
2020-01-07 10:52:50 +11:00
|
|
|
android:layout_marginRight="@dimen/large_spacing"
|
2019-12-18 11:36:09 +01:00
|
|
|
android:textSize="@dimen/medium_font_size"
|
|
|
|
android:textColor="@color/text"
|
|
|
|
android:fontFamily="@font/space_mono_regular"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:text="05987d601943c267879be41830888066c6a024cbdc9a548d06813924bf3372ea78" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-07 10:52:50 +11:00
|
|
|
android:layout_marginLeft="@dimen/large_spacing"
|
2019-12-18 11:36:09 +01:00
|
|
|
android:layout_marginTop="@dimen/large_spacing"
|
2020-01-07 10:52:50 +11:00
|
|
|
android:layout_marginRight="@dimen/large_spacing"
|
2019-12-18 11:36:09 +01:00
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
style="@style/MediumUnimportantFilledButton"
|
|
|
|
android:id="@+id/copyButton"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/medium_button_height"
|
|
|
|
android:layout_weight="1"
|
2020-05-25 16:12:24 +10:00
|
|
|
android:text="@string/copy" />
|
2019-12-18 11:36:09 +01:00
|
|
|
|
|
|
|
<Button
|
|
|
|
style="@style/MediumUnimportantFilledButton"
|
|
|
|
android:id="@+id/shareButton"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="@dimen/medium_button_height"
|
|
|
|
android:layout_weight="1"
|
2020-07-17 12:10:25 +10:00
|
|
|
android:layout_marginStart="@dimen/medium_spacing"
|
2020-05-25 16:12:24 +10:00
|
|
|
android:text="@string/share" />
|
2019-12-18 11:36:09 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
style="@style/MediumProminentOutlineButton"
|
|
|
|
android:id="@+id/createPrivateChatButton"
|
2020-01-09 11:35:43 +11:00
|
|
|
android:layout_width="196dp"
|
2019-12-18 11:36:09 +01:00
|
|
|
android:layout_height="@dimen/medium_button_height"
|
|
|
|
android:layout_marginBottom="@dimen/medium_spacing"
|
2020-05-25 16:12:24 +10:00
|
|
|
android:text="@string/next" />
|
2019-12-18 11:36:09 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|