From 540f7d2fb9c762ef21d6bc1c20f82c16e1c6623e Mon Sep 17 00:00:00 2001 From: Kenny Guy Date: Mon, 8 Jun 2015 20:24:23 +0100 Subject: New look and feel for managed profile toast Change the toast shown when unlocking with a work app in the foreground from normal toast to rectangle with work icon in it. Bug: 21325183 Change-Id: Id41d33eb83d7825d16298dc1da18d3b9ed7e3fc1 --- .../drawable/managed_profile_toast_background.xml | 21 ++++++++++++ .../drawable/stat_sys_managed_profile_status.xml | 4 +-- .../SystemUI/res/layout/managed_profile_toast.xml | 39 ++++++++++++++++++++++ packages/SystemUI/res/values/colors.xml | 2 ++ packages/SystemUI/res/values/strings.xml | 2 +- 5 files changed, 65 insertions(+), 3 deletions(-) create mode 100644 packages/SystemUI/res/drawable/managed_profile_toast_background.xml create mode 100644 packages/SystemUI/res/layout/managed_profile_toast.xml (limited to 'packages/SystemUI/res') diff --git a/packages/SystemUI/res/drawable/managed_profile_toast_background.xml b/packages/SystemUI/res/drawable/managed_profile_toast_background.xml new file mode 100644 index 0000000..5c77b9a --- /dev/null +++ b/packages/SystemUI/res/drawable/managed_profile_toast_background.xml @@ -0,0 +1,21 @@ + + + + + + diff --git a/packages/SystemUI/res/drawable/stat_sys_managed_profile_status.xml b/packages/SystemUI/res/drawable/stat_sys_managed_profile_status.xml index 3c4c646..2bfa39d 100644 --- a/packages/SystemUI/res/drawable/stat_sys_managed_profile_status.xml +++ b/packages/SystemUI/res/drawable/stat_sys_managed_profile_status.xml @@ -20,10 +20,10 @@ Copyright (C) 2015 The Android Open Source Project android:viewportHeight="17.0"> diff --git a/packages/SystemUI/res/layout/managed_profile_toast.xml b/packages/SystemUI/res/layout/managed_profile_toast.xml new file mode 100644 index 0000000..5a01ca7 --- /dev/null +++ b/packages/SystemUI/res/layout/managed_profile_toast.xml @@ -0,0 +1,39 @@ + + + + + + diff --git a/packages/SystemUI/res/values/colors.xml b/packages/SystemUI/res/values/colors.xml index 0dcbe88..9a96939 100644 --- a/packages/SystemUI/res/values/colors.xml +++ b/packages/SystemUI/res/values/colors.xml @@ -143,4 +143,6 @@ #ffffffff #7fffffff #FFB0BEC5 + + #E5000000 diff --git a/packages/SystemUI/res/values/strings.xml b/packages/SystemUI/res/values/strings.xml index 0e0584f..10577d8 100644 --- a/packages/SystemUI/res/values/strings.xml +++ b/packages/SystemUI/res/values/strings.xml @@ -1009,7 +1009,7 @@ Touch to restore the original. - You are in the work profile + You\'re using your work profile Voice calls -- cgit v1.1