2011-12-20 18:20:44 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
2018-03-04 19:35:37 +00:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:id="@+id/prompt_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-09-08 02:04:51 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
tools:context="org.thoughtcrime.securesms.PassphrasePromptActivity">
|
2018-03-04 19:35:37 +00:00
|
|
|
|
2018-08-14 20:04:33 +00:00
|
|
|
<View android:id="@+id/shim"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:visibility="invisible"/>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_above="@id/shim">
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
2020-08-19 00:06:26 +00:00
|
|
|
<androidx.appcompat.widget.Toolbar
|
2018-03-04 19:35:37 +00:00
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
2020-09-08 02:04:51 +00:00
|
|
|
android:layout_alignParentTop="true">
|
2018-03-04 19:35:37 +00:00
|
|
|
|
|
|
|
<ImageView
|
2019-08-30 00:24:39 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="64dp"
|
|
|
|
android:src="@drawable/ic_launcher_foreground"
|
|
|
|
android:layout_gravity="center" />
|
2018-03-04 19:35:37 +00:00
|
|
|
|
2020-08-19 00:06:26 +00:00
|
|
|
</androidx.appcompat.widget.Toolbar>
|
2018-03-04 19:35:37 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
2014-05-14 03:41:16 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-08-14 20:04:33 +00:00
|
|
|
android:layout_height="wrap_content"
|
2019-03-20 22:52:14 +00:00
|
|
|
android:layout_marginStart="30dp"
|
|
|
|
android:layout_marginEnd="30dp"
|
2018-03-04 19:35:37 +00:00
|
|
|
android:orientation="vertical"
|
2020-01-09 00:35:43 +00:00
|
|
|
android:gravity="center_horizontal"
|
2018-03-04 19:35:37 +00:00
|
|
|
android:layout_centerInParent="true"
|
2020-01-09 00:35:43 +00:00
|
|
|
android:padding="20dp">
|
2018-03-04 19:35:37 +00:00
|
|
|
|
2019-08-30 00:24:39 +00:00
|
|
|
<TextView
|
|
|
|
style="@style/Signal.Text.Body"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-09 00:35:43 +00:00
|
|
|
android:text="Session is Locked"
|
2019-08-30 00:24:39 +00:00
|
|
|
android:textStyle="bold"
|
2020-01-09 00:35:43 +00:00
|
|
|
android:textSize="@dimen/large_font_size"
|
2019-08-30 00:24:39 +00:00
|
|
|
android:textAlignment="center"
|
|
|
|
android:layout_marginBottom="32dp" />
|
2018-03-04 19:35:37 +00:00
|
|
|
|
2019-08-30 00:24:39 +00:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/fingerprint_auth_container"
|
|
|
|
android:src="@drawable/ic_fingerprint_white_48dp"
|
|
|
|
android:background="@drawable/circle_tintable"
|
2020-09-01 07:24:07 +00:00
|
|
|
android:backgroundTint="?colorAccent"
|
2019-08-30 00:24:39 +00:00
|
|
|
android:padding="20dp"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_marginBottom="32dp"
|
|
|
|
tools:visibility="visible"/>
|
2018-03-04 19:35:37 +00:00
|
|
|
|
2020-01-09 00:35:43 +00:00
|
|
|
<Button
|
2020-08-24 06:46:12 +00:00
|
|
|
style="@style/Widget.Session.Button.Common.ProminentOutline"
|
2019-08-30 00:24:39 +00:00
|
|
|
android:id="@+id/lock_screen_auth_container"
|
2020-01-09 00:35:43 +00:00
|
|
|
android:layout_width="196dp"
|
|
|
|
android:layout_height="@dimen/medium_button_height"
|
2020-12-14 07:16:16 +00:00
|
|
|
android:text="Tap to Unlock"/>
|
2014-05-14 03:41:16 +00:00
|
|
|
|
2018-03-04 19:35:37 +00:00
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|