mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-18 14:07:30 +00:00
810abe0275
// FREEBIE
55 lines
2.5 KiB
XML
55 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/scroll_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:fillViewport="true">
|
|
|
|
<RelativeLayout android:id="@+id/prompt_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageView android:id="@+id/watermark"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginBottom="50dp"
|
|
android:src="@drawable/lockscreen_watermark"
|
|
android:contentDescription="@string/PassphrasePromptActivity_watermark_content_description"
|
|
android:layout_marginTop="30dp"/>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/watermark">
|
|
|
|
<EditText android:id="@+id/passphrase_edit"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="45sp"
|
|
android:inputType="textPassword"
|
|
android:layout_marginLeft="50dp"
|
|
android:layout_marginRight="50dp"
|
|
android:singleLine="true"
|
|
android:paddingLeft="10dp"
|
|
android:paddingRight="10dp"/>
|
|
|
|
<ImageButton android:id="@+id/ok_button"
|
|
android:src="@drawable/ic_action_forward"
|
|
android:contentDescription="@string/PassphrasePromptActivity_ok_button_content_description"
|
|
android:background="@null"
|
|
android:text="@string/prompt_passphrase_activity__unlock"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:paddingLeft="5dp"
|
|
android:paddingTop="5dp"
|
|
android:paddingRight="10dp"
|
|
android:paddingBottom="5dp"/>
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
</ScrollView> |