diff options
author | John Spurlock <jspurlock@google.com> | 2015-06-02 17:52:46 -0400 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2015-06-02 17:56:28 -0400 |
commit | 023544f762a835fa903088cb38abda31aa09bed5 (patch) | |
tree | 681dbf8bdfb7e433f810194674198df273e1b29d /packages/SystemUI/res/layout | |
parent | a58b9a2c06e6b0143a28cc3bf86d3f003c69b559 (diff) | |
download | frameworks_base-023544f762a835fa903088cb38abda31aa09bed5.zip frameworks_base-023544f762a835fa903088cb38abda31aa09bed5.tar.gz frameworks_base-023544f762a835fa903088cb38abda31aa09bed5.tar.bz2 |
Volume footer uglification.
- Move "End now" button to its own line, below the condition lines.
- Add the feature name "Do Not Disturb" to the condition summary
for the indef condition.
- Fix found RTL issues with the footer.
Bug: 21171893
Change-Id: Ia12fe57d46a5547beec82cf76e175982bfa3fd6c
Diffstat (limited to 'packages/SystemUI/res/layout')
-rw-r--r-- | packages/SystemUI/res/layout/volume_zen_footer.xml | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/packages/SystemUI/res/layout/volume_zen_footer.xml b/packages/SystemUI/res/layout/volume_zen_footer.xml index eede804..28447d7 100644 --- a/packages/SystemUI/res/layout/volume_zen_footer.xml +++ b/packages/SystemUI/res/layout/volume_zen_footer.xml @@ -24,7 +24,7 @@ android:id="@+id/zen_embedded_divider" android:layout_width="match_parent" android:layout_height="1dp" - android:layout_marginBottom="8dp" + android:layout_marginBottom="12dp" android:layout_marginTop="8dp" android:background="@color/qs_tile_divider" /> @@ -53,26 +53,34 @@ android:id="@+id/volume_zen_summary_line_1" android:layout_width="match_parent" android:layout_height="wrap_content" + android:textDirection="locale" android:textAppearance="@style/TextAppearance.Volume.ZenSummary" /> <TextView android:id="@+id/volume_zen_summary_line_2" android:layout_width="match_parent" android:layout_height="wrap_content" + android:layout_marginTop="1dp" + android:textDirection="locale" android:textAppearance="@style/TextAppearance.Volume.ZenDetail" /> + </LinearLayout> - <TextView - android:id="@+id/volume_zen_end_now" - style="@style/QSBorderlessButton" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:clickable="true" - android:focusable="true" - android:minWidth="91dp" - android:text="@string/volume_zen_end_now" - android:textColor="@color/system_accent_color" - android:textAppearance="@style/TextAppearance.QS.DetailButton" /> </LinearLayout> + <TextView + android:id="@+id/volume_zen_end_now" + style="@style/QSBorderlessButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="end" + android:layout_marginEnd="8dp" + android:clickable="true" + android:focusable="true" + android:paddingStart="15dp" + android:paddingEnd="15dp" + android:text="@string/volume_zen_end_now" + android:textColor="@color/system_accent_color" + android:textAppearance="@style/TextAppearance.QS.DetailButton" /> + </com.android.systemui.volume.ZenFooter>
\ No newline at end of file |