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"
|
2012-07-30 17:15:49 -07:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
2013-02-17 11:42:30 -08:00
|
|
|
android:fillViewport="true"
|
|
|
|
android:background="@drawable/background_pattern_repeat">
|
2012-07-30 17:15:49 -07:00
|
|
|
|
2013-02-17 11:42:30 -08:00
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:gravity="center" >
|
|
|
|
|
|
|
|
<LinearLayout android:id="@+id/create_layout"
|
|
|
|
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"/>
|
2012-07-31 17:02:50 -07:00
|
|
|
|
2013-02-17 11:42:30 -08:00
|
|
|
<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"/>
|
2014-01-07 16:27:00 -08:00
|
|
|
|
|
|
|
<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"
|
2014-03-01 15:18:59 +01:00
|
|
|
android:text="@string/create_passphrase_activity__skip"
|
2014-01-07 16:27:00 -08:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginRight="5dip"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
|
|
|
|
|
|
|
<Button android:id="@+id/ok_button"
|
2014-03-01 15:18:59 +01:00
|
|
|
android:text="@string/create_passphrase_activity__create"
|
2014-01-07 16:27:00 -08:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceMedium"/>
|
|
|
|
</LinearLayout>
|
2013-02-17 11:42:30 -08:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout android:id="@+id/progress_layout"
|
|
|
|
android:paddingRight="16dip"
|
|
|
|
android:paddingLeft="16dip"
|
|
|
|
android:paddingTop="10dip"
|
|
|
|
android:layout_width="fill_parent"
|
2012-07-31 17:02:50 -07:00
|
|
|
android:layout_height="wrap_content"
|
2013-02-17 11:42:30 -08:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView style="@style/Registration.BigLabel"
|
|
|
|
android:layout_width="fill_parent"
|
2012-07-31 17:02:50 -07:00
|
|
|
android:layout_marginBottom="16dip"
|
2013-02-17 11:42:30 -08:00
|
|
|
android:layout_marginTop="16dip"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/create_passphrase_activity__generating_secrets"/>
|
2012-07-31 17:02:50 -07:00
|
|
|
|
2013-02-17 11:42:30 -08:00
|
|
|
<ProgressBar android:layout_width="wrap_content"
|
2012-07-31 17:02:50 -07:00
|
|
|
android:layout_height="wrap_content"
|
2013-02-17 11:42:30 -08:00
|
|
|
android:indeterminate="true"
|
|
|
|
android:layout_gravity="center"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
2011-12-20 10:20:44 -08:00
|
|
|
</ScrollView>
|