summaryrefslogtreecommitdiffstats
path: root/res/layout/ownerinfo.xml
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2015-04-21 11:20:20 -0400
committerJason Monk <jmonk@google.com>2015-04-22 11:14:14 -0400
commit3bcd76ce63c77b229e2d25a0191ccb568824f5c4 (patch)
treec9163a001f0104a971e5707a601dc3dc3218da89 /res/layout/ownerinfo.xml
parentf62f1db70fea9801151438da66b085f2b5b5a147 (diff)
downloadpackages_apps_Settings-3bcd76ce63c77b229e2d25a0191ccb568824f5c4.zip
packages_apps_Settings-3bcd76ce63c77b229e2d25a0191ccb568824f5c4.tar.gz
packages_apps_Settings-3bcd76ce63c77b229e2d25a0191ccb568824f5c4.tar.bz2
Change owner info to be a dialog rather than screen
Bug: 15937670 Change-Id: I8d8609ff165c4a76e318a80a62fb1dc9effbc82a
Diffstat (limited to 'res/layout/ownerinfo.xml')
-rw-r--r--res/layout/ownerinfo.xml79
1 files changed, 19 insertions, 60 deletions
diff --git a/res/layout/ownerinfo.xml b/res/layout/ownerinfo.xml
index 6adec7d..80f0192 100644
--- a/res/layout/ownerinfo.xml
+++ b/res/layout/ownerinfo.xml
@@ -16,70 +16,29 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:paddingStart="20dip"
+ android:paddingEnd="20dip"
+ android:paddingTop="20dip"
android:orientation="vertical"
- android:scrollbars="vertical"
android:background="@android:color/white">
- <ScrollView
+ <EditText
+ android:id="@+id/owner_info_edit_text"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:scrollbarStyle="outsideOverlay"
- android:fillViewport="true">
-
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:paddingStart="?android:attr/listPreferredItemPaddingStart"
- android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
-
- <View
- android:paddingTop="53dip"
- android:layout_width="match_parent"
- android:layout_height="1dip"
- android:background="#ff404040"
- />
-
- <EditText android:id="@+id/owner_info_nickname"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dip"
- android:gravity="top"
- android:hint="@string/user_nickname"
- android:inputType="textCapWords"
- />
-
- <CheckBox android:id="@+id/show_owner_info_on_lockscreen_checkbox"
- android:layout_width="match_parent"
- android:layout_height="64dip"
- android:gravity="center_vertical"
- android:layout_marginTop="8dip"
- android:text="@string/show_owner_info_on_lockscreen_label"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:textColor="?android:attr/textColorSecondary"
- />
-
- <View
- android:layout_width="match_parent"
- android:layout_height="1dip"
- android:background="#ff404040"
- />
-
- <EditText android:id="@+id/owner_info_edit_text"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="62dip"
- android:layout_marginTop="40dip"
- android:gravity="top"
- android:hint="@string/owner_info_settings_edit_text_hint"
- android:lines="8"
- android:maxLines="8"
- android:inputType="textMultiLine|textCapSentences"
- />
-
- </LinearLayout>
-
- </ScrollView>
+ android:layout_height="wrap_content"
+ android:gravity="top"
+ android:hint="@string/owner_info_settings_edit_text_hint"
+ android:maxLength="100"
+ android:inputType="textMultiLine|textCapSentences"
+ />
+
+ <TextView
+ android:id="@+id/owner_info_status"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="end"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ />
</LinearLayout>