From 3bcd76ce63c77b229e2d25a0191ccb568824f5c4 Mon Sep 17 00:00:00 2001 From: Jason Monk Date: Tue, 21 Apr 2015 11:20:20 -0400 Subject: Change owner info to be a dialog rather than screen Bug: 15937670 Change-Id: I8d8609ff165c4a76e318a80a62fb1dc9effbc82a --- res/layout/ownerinfo.xml | 79 ++++++++------------------------ res/values/strings.xml | 12 ++--- res/xml/security_settings_chooser.xml | 3 +- res/xml/security_settings_lockscreen.xml | 3 +- res/xml/security_settings_password.xml | 3 +- res/xml/security_settings_pattern.xml | 3 +- res/xml/security_settings_pin.xml | 3 +- 7 files changed, 30 insertions(+), 76 deletions(-) (limited to 'res') 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 @@ - - - - - - - - - - - - - - - - - + android:layout_height="wrap_content" + android:gravity="top" + android:hint="@string/owner_info_settings_edit_text_hint" + android:maxLength="100" + android:inputType="textMultiLine|textCapSentences" + /> + + diff --git a/res/values/strings.xml b/res/values/strings.xml index 153492b..7e7026d 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -700,17 +700,17 @@ Show owner info on lock screen - Owner info + Lock screen message Enable widgets Disabled by administrator - - + + None + + %1$d / %2$d - Type text to display on the lock screen - - Show user info on lock screen + E.g., Joe\'s Android. User info diff --git a/res/xml/security_settings_chooser.xml b/res/xml/security_settings_chooser.xml index 4c1d809..af7bfeb 100644 --- a/res/xml/security_settings_chooser.xml +++ b/res/xml/security_settings_chooser.xml @@ -27,9 +27,8 @@ android:summary="@string/unlock_set_unlock_mode_none" android:persistent="false"/> - diff --git a/res/xml/security_settings_lockscreen.xml b/res/xml/security_settings_lockscreen.xml index 88df74b..480d6ee 100644 --- a/res/xml/security_settings_lockscreen.xml +++ b/res/xml/security_settings_lockscreen.xml @@ -29,9 +29,8 @@ settings:keywords="@string/keywords_lockscreen" android:persistent="false"/> - diff --git a/res/xml/security_settings_password.xml b/res/xml/security_settings_password.xml index 9f1092a..b610562 100644 --- a/res/xml/security_settings_password.xml +++ b/res/xml/security_settings_password.xml @@ -41,9 +41,8 @@ android:key="power_button_instantly_locks" android:title="@string/lockpattern_settings_enable_power_button_instantly_locks"/> - diff --git a/res/xml/security_settings_pattern.xml b/res/xml/security_settings_pattern.xml index ceb749c..867bed4 100644 --- a/res/xml/security_settings_pattern.xml +++ b/res/xml/security_settings_pattern.xml @@ -45,8 +45,7 @@ android:key="power_button_instantly_locks" android:title="@string/lockpattern_settings_enable_power_button_instantly_locks"/> - diff --git a/res/xml/security_settings_pin.xml b/res/xml/security_settings_pin.xml index 4470b1d..ac09a2c 100644 --- a/res/xml/security_settings_pin.xml +++ b/res/xml/security_settings_pin.xml @@ -41,9 +41,8 @@ android:key="power_button_instantly_locks" android:title="@string/lockpattern_settings_enable_power_button_instantly_locks"/> - -- cgit v1.1