session-android/res/layout/create_passphrase_activity.xml

63 lines
2.4 KiB
XML
Raw Normal View History

2011-12-20 10:20:44 -08:00
<?xml version="1.0" encoding="utf-8"?>
2012-07-30 17:15:49 -07:00
<ScrollView android:id="@+id/ScrollView"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:id="@+id/LinearLayout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="8px"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:text="Please enter a passphrase that will be used to locally encrypt your data. This should be a strong passphrase."
android:textAppearance="?android:attr/textAppearanceMedium"
android:id="@+id/create_pass_label"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_margin="10dip"/>
<EditText android:id="@+id/passphrase_edit"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:password="true"
android:layout_margin="10dip"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/repeat_label"
android:textAppearance="?android:attr/textAppearanceMedium"
android:layout_margin="10dip"
android:text="Repeat:"></TextView>
<EditText
android:layout_height="wrap_content"
android:layout_width="fill_parent"
2011-12-20 10:20:44 -08:00
android:password="true"
android:layout_margin="10dip"
android:id="@+id/passphrase_edit_repeat"></EditText>
2012-07-30 17:15:49 -07:00
2011-12-20 10:20:44 -08:00
<RelativeLayout
2012-07-30 17:15:49 -07:00
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:id="@+id/RelativeLayout"
>
<Button android:layout_width="100dip"
android:layout_height="wrap_content"
android:id="@+id/cancel_button" android:text="Cancel"
android:layout_below="@id/passphrase_edit_repeat"
2011-12-20 10:20:44 -08:00
android:layout_alignParentRight="true"></Button>
2012-07-30 17:15:49 -07:00
<Button android:layout_below="@id/passphrase_edit_repeat"
android:layout_width="100dip"
android:layout_height="wrap_content"
android:text="Ok" android:id="@+id/ok_button"
android:layout_toLeftOf="@id/cancel_button"></Button>
</RelativeLayout>
2011-12-20 10:20:44 -08:00
</LinearLayout>
</ScrollView>