summaryrefslogtreecommitdiffstats
path: root/res/layout-xlarge-land
diff options
context:
space:
mode:
authorJason parks <jparks@google.com>2011-01-07 09:02:14 -0600
committerJason parks <jparks@google.com>2011-01-13 17:39:20 -0600
commit6f8fb436178d12d11d6ab59671168f0603bdbdcb (patch)
treee0fd856264c931e2425d964b8c6e735b8f763ed4 /res/layout-xlarge-land
parent4b78f9bb9b2c4dac2ae4ac063daddb975011313b (diff)
downloadpackages_apps_Settings-6f8fb436178d12d11d6ab59671168f0603bdbdcb.zip
packages_apps_Settings-6f8fb436178d12d11d6ab59671168f0603bdbdcb.tar.gz
packages_apps_Settings-6f8fb436178d12d11d6ab59671168f0603bdbdcb.tar.bz2
Add a setting to enable encryption.
This isn't final and it will wipe your device. Change-Id: I7fecded92a745844435878d0409d620bfa571472
Diffstat (limited to 'res/layout-xlarge-land')
-rw-r--r--res/layout-xlarge-land/crypt_keeper.xml47
1 files changed, 45 insertions, 2 deletions
diff --git a/res/layout-xlarge-land/crypt_keeper.xml b/res/layout-xlarge-land/crypt_keeper.xml
index 892cf52..76d2278 100644
--- a/res/layout-xlarge-land/crypt_keeper.xml
+++ b/res/layout-xlarge-land/crypt_keeper.xml
@@ -20,8 +20,51 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:orientation="vertical"
+ android:orientation="horizontal"
>
- <include layout="@layout/crypt_keeper_content" />
+ <LinearLayout
+ android:layout_height="match_parent"
+ android:layout_weight="1"
+ android:layout_width="0dip"
+ android:orientation="vertical"
+ android:gravity="center_vertical"
+ >
+ <include layout="@layout/crypt_keeper_status" />
+ </LinearLayout>
+
+ <!-- right side: password -->
+ <LinearLayout
+ android:layout_width="0dip"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+ android:layout_weight="1"
+ android:gravity="center">
+
+ <!-- Password entry field -->
+ <EditText android:id="@+id/passwordEntry"
+ android:layout_height="wrap_content"
+ android:layout_width="450dip"
+ android:singleLine="true"
+ android:textStyle="normal"
+ android:inputType="textPassword"
+ android:gravity="center"
+ android:layout_gravity="center"
+ android:textSize="24sp"
+ android:layout_marginTop="120dip"
+ android:layout_marginBottom="5dip"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:textColor="#ffffffff"
+ android:editable="false"
+ />
+
+ <com.android.internal.widget.PasswordEntryKeyboardView android:id="@+id/keyboard"
+ android:layout_width="450dip"
+ android:layout_height="230dip"
+ android:background="#00000000"
+ android:keyBackground="@*android:drawable/btn_keyboard_key_fulltrans"
+ android:visibility="visible"
+ />
+
+ </LinearLayout>
</LinearLayout> \ No newline at end of file