mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
ce7b8ab75a
// FREEBIE
57 lines
2.6 KiB
XML
57 lines
2.6 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"
|
|
android:background="@drawable/background_pattern_repeat">
|
|
|
|
<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="wrap_content"
|
|
android:inputType="textPassword"
|
|
android:layout_marginLeft="50dp"
|
|
android:layout_marginRight="50dp"
|
|
android:singleLine="true"
|
|
android:background="@drawable/passphrase_input_background"
|
|
android:padding="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> |