parent
9ef14a0f64
commit
bea3c33223
@ -1,100 +1,38 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="fill_parent"
|
android:id="@+id/scroll_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
android:fillViewport="true"
|
android:fillViewport="true"
|
||||||
android:background="@drawable/background_pattern_repeat">
|
android:background="@drawable/background_pattern_repeat">
|
||||||
|
|
||||||
<FrameLayout
|
<RelativeLayout android:id="@+id/prompt_layout"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="wrap_content">
|
||||||
android:gravity="center" >
|
|
||||||
|
|
||||||
<LinearLayout android:id="@+id/create_layout"
|
<ImageView android:id="@+id/watermark"
|
||||||
android:paddingRight="16dip"
|
|
||||||
android:paddingLeft="16dip"
|
|
||||||
android:paddingTop="10dip"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:visibility="visible"
|
|
||||||
android:orientation="vertical">
|
|
||||||
|
|
||||||
<TextView style="@style/Registration.Description"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_marginBottom="16dip"
|
|
||||||
android:layout_marginTop="16dip"
|
|
||||||
android:text="@string/create_passphrase_activity__please_choose_a_passphrase_that_will_be_used_to_locally_encrypt_your_data_this_should_be_a_strong_passphrase"/>
|
|
||||||
|
|
||||||
<TextView style="@style/Registration.Label"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:textAllCaps="true"
|
|
||||||
android:text="@string/create_passphrase_activity__passphrase" />
|
|
||||||
|
|
||||||
<EditText android:id="@+id/passphrase_edit"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:inputType="textPassword"
|
|
||||||
android:layout_marginBottom="10dip"
|
|
||||||
android:singleLine="true"/>
|
|
||||||
|
|
||||||
<TextView style="@style/Registration.Label"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:textAllCaps="true"
|
|
||||||
android:text="@string/create_passphrase_activity__repeat" />
|
|
||||||
|
|
||||||
<EditText android:id="@+id/passphrase_edit_repeat"
|
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:inputType="textPassword"
|
|
||||||
android:singleLine="true"/>
|
|
||||||
|
|
||||||
<LinearLayout android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="20dip"
|
|
||||||
android:layout_marginBottom="20dip"
|
|
||||||
android:layout_gravity="right"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
|
|
||||||
<Button android:id="@+id/skip_button"
|
|
||||||
android:text="@string/create_passphrase_activity__skip"
|
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginRight="5dip"
|
android:layout_centerHorizontal="true"
|
||||||
android:layout_weight="1"
|
android:layout_marginBottom="20dp"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
android:src="@drawable/lockscreen_watermark"
|
||||||
|
android:contentDescription="@string/PassphrasePromptActivity_watermark_content_description"
|
||||||
|
android:layout_marginTop="100dp"/>
|
||||||
|
|
||||||
<Button android:id="@+id/ok_button"
|
<RelativeLayout android:layout_width="match_parent"
|
||||||
android:text="@string/create_passphrase_activity__create"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_below="@id/watermark">
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout android:id="@+id/progress_layout"
|
<ProgressBar android:id="@+id/passphrase_edit"
|
||||||
android:paddingRight="16dip"
|
android:layout_width="75dp"
|
||||||
android:paddingLeft="16dip"
|
android:layout_height="75dp"
|
||||||
android:paddingTop="10dip"
|
android:indeterminate="true"
|
||||||
android:layout_width="fill_parent"
|
android:padding="10dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_centerHorizontal="true"/>
|
||||||
android:layout_gravity="center"
|
|
||||||
android:visibility="gone"
|
|
||||||
android:orientation="vertical">
|
|
||||||
|
|
||||||
<TextView style="@style/Registration.BigLabel"
|
</RelativeLayout>
|
||||||
android:layout_width="fill_parent"
|
|
||||||
android:layout_marginBottom="16dip"
|
</RelativeLayout>
|
||||||
android:layout_marginTop="16dip"
|
|
||||||
android:gravity="center"
|
|
||||||
android:text="@string/create_passphrase_activity__generating_secrets"/>
|
|
||||||
|
|
||||||
<ProgressBar android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:indeterminate="true"
|
|
||||||
android:layout_gravity="center"/>
|
|
||||||
</LinearLayout>
|
|
||||||
</FrameLayout>
|
|
||||||
</ScrollView>
|
</ScrollView>
|
Loading…
Reference in New Issue