2011-12-20 10:20:44 -08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
2013-02-17 11:42:30 -08:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2014-05-13 20:41:16 -07:00
|
|
|
android:id="@+id/scroll_parent"
|
2013-12-02 23:14:27 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2013-02-17 11:42:30 -08:00
|
|
|
android:fillViewport="true"
|
|
|
|
android:background="@drawable/background_pattern_repeat">
|
2011-12-20 10:20:44 -08:00
|
|
|
|
2014-05-13 20:41:16 -07:00
|
|
|
<RelativeLayout android:id="@+id/prompt_layout"
|
|
|
|
android:layout_width="match_parent"
|
2014-10-29 18:28:20 -07:00
|
|
|
android:layout_height="wrap_content">
|
2013-12-02 23:14:27 +02:00
|
|
|
|
2014-05-13 20:41:16 -07:00
|
|
|
<ImageView android:id="@+id/watermark"
|
|
|
|
android:layout_width="wrap_content"
|
2013-12-02 23:14:27 +02:00
|
|
|
android:layout_height="wrap_content"
|
2014-05-13 20:41:16 -07:00
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_marginBottom="50dp"
|
|
|
|
android:src="@drawable/lockscreen_watermark"
|
|
|
|
android:contentDescription="@string/PassphrasePromptActivity_watermark_content_description"
|
|
|
|
android:layout_marginTop="30dp"/>
|
2013-12-02 23:14:27 +02:00
|
|
|
|
2014-05-13 20:41:16 -07:00
|
|
|
<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"
|
2014-10-29 18:28:20 -07:00
|
|
|
android:layout_height="45sp"
|
2014-05-13 20:41:16 -07:00
|
|
|
android:inputType="textPassword"
|
|
|
|
android:layout_marginLeft="50dp"
|
|
|
|
android:layout_marginRight="50dp"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:background="@drawable/passphrase_input_background"
|
2014-10-29 18:28:20 -07:00
|
|
|
android:paddingLeft="10dp"
|
|
|
|
android:paddingRight="10dp"/>
|
2014-05-13 20:41:16 -07:00
|
|
|
|
|
|
|
<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>
|
2013-12-02 23:14:27 +02:00
|
|
|
|
2013-02-17 11:42:30 -08:00
|
|
|
</ScrollView>
|