diff options
author | Kenny Guy <kennyguy@google.com> | 2015-06-08 20:24:23 +0100 |
---|---|---|
committer | Kenny Guy <kennyguy@google.com> | 2015-06-10 18:10:34 +0100 |
commit | 540f7d2fb9c762ef21d6bc1c20f82c16e1c6623e (patch) | |
tree | d27338a0d8720eaa6c233bd00841b31aeea551d2 /packages/SystemUI/res/drawable | |
parent | f22030d1c59aca4f9ad2af7d4c4d646b0b619f27 (diff) | |
download | frameworks_base-540f7d2fb9c762ef21d6bc1c20f82c16e1c6623e.zip frameworks_base-540f7d2fb9c762ef21d6bc1c20f82c16e1c6623e.tar.gz frameworks_base-540f7d2fb9c762ef21d6bc1c20f82c16e1c6623e.tar.bz2 |
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
Diffstat (limited to 'packages/SystemUI/res/drawable')
-rw-r--r-- | packages/SystemUI/res/drawable/managed_profile_toast_background.xml | 21 | ||||
-rw-r--r-- | packages/SystemUI/res/drawable/stat_sys_managed_profile_status.xml | 4 |
2 files changed, 23 insertions, 2 deletions
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 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +Copyright (C) 2015 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <corners android:radius="2dp" /> + <solid android:color="@color/managed_profile_toast_background" /> +</shape> 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"> <group android:translateX="2.0"> <path - android:fillColor="#FF000000" + android:fillColor="@android:color/white" android:pathData="M9.9,11.6H7v-1.1H2.1v2.8c0,0.8,0.6,1.4,1.4,1.4h9.9c0.8,0,1.4,-0.6,1.4,-1.4v-2.8H9.9V11.6z"/> <path - android:fillColor="#FF000000" + android:fillColor="@android:color/white" android:pathData="M14.1,4.2h-2.5V3.2l-1.1,-1.1H6.3L5.3,3.2v1H2.8C2,4.2,1.4,4.9,1.4,5.6v2.8c0,0.8,0.6,1.4,1.4,1.4H7V8.8h2.8v1.1h4.2 c0.8,0,1.4,-0.6,1.4,-1.4V5.6C15.5,4.9,14.8,4.2,14.1,4.2z M10.6,4.2H6.3V3.2h4.2V4.2z"/> </group> </vector> |