diff options
author | Amith Yamasani <yamasani@google.com> | 2014-06-11 17:25:51 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2014-06-12 12:59:47 -0700 |
commit | 1e9c21871e81642669079cd290ef47818a3165bd (patch) | |
tree | b8f951004c8a017f1a9b92290ab1308bc6e89ee5 /packages/SystemUI/res/layout | |
parent | 02a9c359a1a6e1175cdd2d560f97be9cdb816a0e (diff) | |
download | frameworks_base-1e9c21871e81642669079cd290ef47818a3165bd.zip frameworks_base-1e9c21871e81642669079cd290ef47818a3165bd.tar.gz frameworks_base-1e9c21871e81642669079cd290ef47818a3165bd.tar.bz2 |
Guest user first iteration
Setting for controlling if guest is enabled on the device.
Setting to hint to apps that they should skip showing first use clings.
User switcher handles creation and deletion of the guest user.
Some tweaks to the user switcher to show some feedback and make the icons
circular.
Change-Id: I187dc381d2ee7c372ec6d35e14aa9ea4dfbe5936
Diffstat (limited to 'packages/SystemUI/res/layout')
-rw-r--r-- | packages/SystemUI/res/layout/user_switcher_item.xml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/packages/SystemUI/res/layout/user_switcher_item.xml b/packages/SystemUI/res/layout/user_switcher_item.xml index 43a85e7..8df2f5a 100644 --- a/packages/SystemUI/res/layout/user_switcher_item.xml +++ b/packages/SystemUI/res/layout/user_switcher_item.xml @@ -21,10 +21,12 @@ android:layout_width="match_parent" android:layout_height="64dp" android:orientation="horizontal" + android:gravity="center_vertical" tools:context=".settings.UserSwitcherDialog"> <ImageView - android:layout_width="64dp" - android:layout_height="match_parent" + android:layout_width="48dp" + android:layout_height="48dp" + android:layout_marginStart="4dp" android:id="@+id/user_picture" tools:src="@drawable/dessert_zombiegingerbread"/> <TextView @@ -37,4 +39,11 @@ android:gravity="center_vertical" tools:text="Hiroshi Lockheimer" /> + <ImageView + android:layout_width="48dp" + android:layout_height="48dp" + android:layout_marginEnd="4dp" + android:src="@*android:drawable/ic_menu_delete" + android:id="@+id/user_delete" + android:background="?android:attr/selectableItemBackground"/> </LinearLayout> |