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/layout | |
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/layout')
-rw-r--r-- | packages/SystemUI/res/layout/managed_profile_toast.xml | 39 |
1 files changed, 39 insertions, 0 deletions
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 @@ +<?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. +--> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingLeft="32dp" + android:paddingRight="32dp" + android:background="@drawable/managed_profile_toast_background"> + <ImageView + android:layout_width="32dp" + android:layout_height="32dp" + android:layout_gravity="center_horizontal" + android:layout_marginBottom="16dp" + android:src="@drawable/stat_sys_managed_profile_status"/> + <TextView android:text="@string/managed_profile_foreground_toast" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="@android:color/white" + android:textSize="14sp" + android:layout_gravity="center_horizontal" /> +</LinearLayout> |