2016-08-24 18:51:45 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2021-08-27 15:56:54 -03:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2016-08-24 18:51:45 -07:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:fillViewport="true">
|
|
|
|
|
|
|
|
<LinearLayout android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 15:56:54 -03:00
|
|
|
android:padding="36dp"
|
2016-08-24 18:51:45 -07:00
|
|
|
android:gravity="center_horizontal"
|
2021-08-27 15:56:54 -03:00
|
|
|
android:background="@color/signal_background_primary"
|
2016-08-24 18:51:45 -07:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
2021-08-27 15:56:54 -03:00
|
|
|
<LinearLayout android:id="@+id/qr_code_container"
|
|
|
|
android:layout_width="match_parent"
|
2017-06-06 18:03:09 -07:00
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 15:56:54 -03:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_marginStart="30dp"
|
|
|
|
android:layout_marginEnd="30dp"
|
|
|
|
android:background="@drawable/qr_code_background">
|
|
|
|
|
|
|
|
<FrameLayout android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="36dp"
|
|
|
|
android:layout_gravity="center">
|
|
|
|
|
|
|
|
<TextView android:id="@+id/loading"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:text="@string/verify_display_fragment__loading"
|
|
|
|
android:textSize="20sp" />
|
2016-08-24 18:51:45 -07:00
|
|
|
|
2021-08-27 15:56:54 -03:00
|
|
|
<org.thoughtcrime.securesms.components.SquareImageView
|
2016-08-24 18:51:45 -07:00
|
|
|
android:id="@+id/qr_code"
|
2021-08-27 15:56:54 -03:00
|
|
|
android:layout_width="164dp"
|
|
|
|
android:layout_height="164dp"
|
|
|
|
android:layout_gravity="center_horizontal"
|
2017-06-06 18:03:09 -07:00
|
|
|
android:visibility="invisible"
|
2021-08-27 15:56:54 -03:00
|
|
|
tools:src="@drawable/ic_about_mc_80"
|
|
|
|
tools:visibility="visible" />
|
2016-08-24 18:51:45 -07:00
|
|
|
|
2021-08-27 15:56:54 -03:00
|
|
|
<org.thoughtcrime.securesms.components.SquareImageView
|
2016-08-24 18:51:45 -07:00
|
|
|
android:id="@+id/qr_verified"
|
2021-08-27 15:56:54 -03:00
|
|
|
android:layout_width="100dp"
|
|
|
|
android:layout_height="100dp"
|
2016-08-24 18:51:45 -07:00
|
|
|
android:src="@drawable/ic_check_white_48dp"
|
2021-08-27 15:56:54 -03:00
|
|
|
android:background="@drawable/circle_tintable"
|
2016-08-24 18:51:45 -07:00
|
|
|
android:backgroundTint="@color/green_500"
|
2021-08-27 15:56:54 -03:00
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
tools:visibility="visible"/>
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<TextSwitcher android:id="@+id/tap_label"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
android:layout_marginBottom="27dp"
|
|
|
|
android:inAnimation="@android:anim/fade_in"
|
|
|
|
android:outAnimation="@android:anim/fade_out">
|
|
|
|
|
|
|
|
<TextView android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
|
|
android:textColor="@color/core_grey_50"
|
|
|
|
android:textSize="11sp"
|
|
|
|
android:text="@string/verify_display_fragment__tap_to_scan"
|
|
|
|
style="@style/Signal.Text.Preview" />
|
2016-08-24 18:51:45 -07:00
|
|
|
|
2021-08-27 15:56:54 -03:00
|
|
|
<TextView android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
|
|
android:textColor="@color/core_grey_50"
|
|
|
|
android:textSize="11sp"
|
|
|
|
android:text="@string/verify_display_fragment__successful_match"
|
|
|
|
style="@style/Signal.Text.Preview" />
|
2016-08-24 18:51:45 -07:00
|
|
|
|
2021-08-27 15:56:54 -03:00
|
|
|
</TextSwitcher>
|
2016-08-24 18:51:45 -07:00
|
|
|
|
2021-08-27 15:56:54 -03:00
|
|
|
</LinearLayout>
|
2016-08-24 18:51:45 -07:00
|
|
|
|
2016-11-14 19:50:29 -08:00
|
|
|
<TableLayout android:id="@+id/number_table"
|
|
|
|
android:layout_width="wrap_content"
|
2016-08-24 18:51:45 -07:00
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 15:56:54 -03:00
|
|
|
android:layout_marginTop="36dp"
|
2016-11-14 19:50:29 -08:00
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true">
|
|
|
|
|
|
|
|
<TableRow android:gravity="center_horizontal"
|
|
|
|
android:clickable="false"
|
|
|
|
android:focusable="false">
|
2016-08-24 18:51:45 -07:00
|
|
|
|
|
|
|
<TextView android:id="@+id/code_first"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="@style/IdentityKey"
|
|
|
|
tools:text="22934"/>
|
|
|
|
|
|
|
|
<TextView android:id="@+id/code_second"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-20 15:52:14 -07:00
|
|
|
android:layout_marginStart="20dp"
|
2016-08-24 18:51:45 -07:00
|
|
|
style="@style/IdentityKey"
|
|
|
|
tools:text="56944"/>
|
|
|
|
|
|
|
|
<TextView android:id="@+id/code_third"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-20 15:52:14 -07:00
|
|
|
android:layout_marginStart="20dp"
|
2016-08-24 18:51:45 -07:00
|
|
|
style="@style/IdentityKey"
|
|
|
|
tools:text="42738"/>
|
|
|
|
|
|
|
|
<TextView android:id="@+id/code_fourth"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-20 15:52:14 -07:00
|
|
|
android:layout_marginStart="20dp"
|
2016-08-24 18:51:45 -07:00
|
|
|
style="@style/IdentityKey"
|
|
|
|
tools:text="20038"/>
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow android:gravity="center_horizontal">
|
|
|
|
<TextView android:id="@+id/code_fifth"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="@style/IdentityKey"
|
|
|
|
tools:text="34431"/>
|
|
|
|
|
|
|
|
<TextView android:id="@+id/code_sixth"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-20 15:52:14 -07:00
|
|
|
android:layout_marginStart="20dp"
|
2016-08-24 18:51:45 -07:00
|
|
|
style="@style/IdentityKey"
|
|
|
|
tools:text="24922"/>
|
|
|
|
|
|
|
|
<TextView android:id="@+id/code_seventh"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-20 15:52:14 -07:00
|
|
|
android:layout_marginStart="20dp"
|
2016-08-24 18:51:45 -07:00
|
|
|
style="@style/IdentityKey"
|
|
|
|
tools:text="58594"/>
|
|
|
|
|
|
|
|
<TextView android:id="@+id/code_eighth"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-20 15:52:14 -07:00
|
|
|
android:layout_marginStart="20dp"
|
2016-08-24 18:51:45 -07:00
|
|
|
style="@style/IdentityKey"
|
|
|
|
tools:text="24109"/>
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow android:gravity="center_horizontal">
|
|
|
|
<TextView android:id="@+id/code_ninth"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
style="@style/IdentityKey"
|
|
|
|
tools:text="00257"/>
|
|
|
|
|
|
|
|
<TextView android:id="@+id/code_tenth"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-20 15:52:14 -07:00
|
|
|
android:layout_marginStart="20dp"
|
2016-08-24 18:51:45 -07:00
|
|
|
style="@style/IdentityKey"
|
|
|
|
tools:text="34956"/>
|
|
|
|
|
|
|
|
<TextView android:id="@+id/code_eleventh"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-20 15:52:14 -07:00
|
|
|
android:layout_marginStart="20dp"
|
2016-08-24 18:51:45 -07:00
|
|
|
style="@style/IdentityKey"
|
|
|
|
tools:text="32440"/>
|
|
|
|
|
|
|
|
<TextView android:id="@+id/code_twelth"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-20 15:52:14 -07:00
|
|
|
android:layout_marginStart="20dp"
|
2016-08-24 18:51:45 -07:00
|
|
|
style="@style/IdentityKey"
|
|
|
|
tools:text="15774"/>
|
|
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
|
|
|
|
2016-08-29 17:49:49 -07:00
|
|
|
<TextView android:id="@+id/description"
|
|
|
|
android:layout_width="match_parent"
|
2016-08-24 18:51:45 -07:00
|
|
|
android:layout_height="wrap_content"
|
2021-08-27 15:56:54 -03:00
|
|
|
android:layout_marginTop="36dp"
|
|
|
|
android:layout_marginStart="30dp"
|
|
|
|
android:layout_marginEnd="30dp"
|
|
|
|
android:gravity="center"
|
2016-08-24 18:51:45 -07:00
|
|
|
android:lineSpacingExtra="3sp"
|
2021-08-27 15:56:54 -03:00
|
|
|
android:text="@string/verify_display_fragment__to_verify_the_security_of_your_end_to_end_encryption_with_s"
|
|
|
|
style="@style/TextAppearance.Signal.Body2" />
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/verify_button"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="60dp"
|
|
|
|
android:textAllCaps="false"
|
|
|
|
android:layout_marginTop="43dp"
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
android:layout_marginEnd="12dp"
|
|
|
|
android:text="@string/verify_display_fragment__mark_as_verified"
|
|
|
|
style="@style/Signal.Widget.Button.Large.Primary"
|
|
|
|
app:backgroundTint="@color/signal_inverse_transparent_10"
|
|
|
|
android:textColor="@color/signal_accent_primary"/>
|
2016-08-24 18:51:45 -07:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|