mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 11:05:25 +00:00
e294199ea3
Screen lock related classes refactoring. Legacy database util classes and migrations removed.
79 lines
3.0 KiB
XML
79 lines
3.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<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"
|
|
android:orientation="vertical"
|
|
tools:context="org.thoughtcrime.securesms.PassphrasePromptActivity">
|
|
|
|
<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>
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:layout_alignParentTop="true">
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="64dp"
|
|
android:src="@drawable/ic_launcher_foreground"
|
|
android:layout_gravity="center" />
|
|
|
|
</androidx.appcompat.widget.Toolbar>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="30dp"
|
|
android:layout_marginEnd="30dp"
|
|
android:orientation="vertical"
|
|
android:gravity="center_horizontal"
|
|
android:layout_centerInParent="true"
|
|
android:padding="20dp">
|
|
|
|
<TextView
|
|
style="@style/Signal.Text.Body"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Session is Locked"
|
|
android:textStyle="bold"
|
|
android:textSize="@dimen/large_font_size"
|
|
android:textAlignment="center"
|
|
android:layout_marginBottom="32dp" />
|
|
|
|
<ImageView
|
|
android:id="@+id/fingerprint_auth_container"
|
|
android:src="@drawable/ic_fingerprint_white_48dp"
|
|
android:background="@drawable/circle_tintable"
|
|
android:backgroundTint="?colorAccent"
|
|
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"/>
|
|
|
|
<Button
|
|
style="@style/Widget.Session.Button.Common.ProminentOutline"
|
|
android:id="@+id/lock_screen_auth_container"
|
|
android:layout_width="196dp"
|
|
android:layout_height="@dimen/medium_button_height"
|
|
android:text="Tap to Unlock"/>
|
|
|
|
</LinearLayout>
|
|
</RelativeLayout> |