summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/layout/quick_settings_tile_user.xml
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2013-04-12 15:16:53 -0400
committerDaniel Sandler <dsandler@android.com>2013-04-15 22:09:55 -0400
commitb5538e642118209add5abd7c5da1472a0b608b07 (patch)
treea5d947bd756230a2aeea3b974b4e14ab4c9fa8a8 /packages/SystemUI/res/layout/quick_settings_tile_user.xml
parent4b6d23d7b45f813bee52747b3243ce46ff9edbd0 (diff)
downloadframeworks_base-b5538e642118209add5abd7c5da1472a0b608b07.zip
frameworks_base-b5538e642118209add5abd7c5da1472a0b608b07.tar.gz
frameworks_base-b5538e642118209add5abd7c5da1472a0b608b07.tar.bz2
Rebuild quick settings tile layouts.
The chief motivation here is to allow two lines of text when necessary. So much refactoring over so small a thing, but the result is satisfying: most quick settings tiles do not need their own layouts. Additionally, tiles with odd-shaped icons (I'm looking at you, alien potato mode) no longer fall off the grid. It should be possible to further reduce the complexity of quick settings, but for now this will suffice. Bug: 7216734 // vertical alignment issues Bug: 7216868 // wrap text in QS tiles Bug: 7365911 // NPE in some tiles Change-Id: I0c6ef275e44f745dfac52c2a7303072ae48e3873
Diffstat (limited to 'packages/SystemUI/res/layout/quick_settings_tile_user.xml')
-rw-r--r--packages/SystemUI/res/layout/quick_settings_tile_user.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/SystemUI/res/layout/quick_settings_tile_user.xml b/packages/SystemUI/res/layout/quick_settings_tile_user.xml
index 878f500..80fc685 100644
--- a/packages/SystemUI/res/layout/quick_settings_tile_user.xml
+++ b/packages/SystemUI/res/layout/quick_settings_tile_user.xml
@@ -25,13 +25,12 @@
android:scaleType="centerCrop"
/>
<TextView
- style="@style/TextAppearance.QuickSettings.TileView"
+ style="@style/TextAppearance.QuickSettings.TileView.User"
android:id="@+id/user_textview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|bottom"
android:gravity="center"
android:text="@string/quick_settings_user_label"
- android:background="#CC000000"
/>
</FrameLayout> \ No newline at end of file