summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2014-08-13 22:24:22 +0200
committerAdrian Roos <roosa@google.com>2014-08-13 21:39:34 +0000
commit37f100ea51857a16a25ba17d4889aec036d17c67 (patch)
treed92fd994be92a139dd0a5b4acd29fc39f8f06e1b /packages
parent15f83c6f64e26a74acf9b75ce41d39870d5a5b7a (diff)
downloadframeworks_base-37f100ea51857a16a25ba17d4889aec036d17c67.zip
frameworks_base-37f100ea51857a16a25ba17d4889aec036d17c67.tar.gz
frameworks_base-37f100ea51857a16a25ba17d4889aec036d17c67.tar.bz2
Fix detail header padding
Bug: 17007279 Change-Id: If0d20f69306a7c0cee89cc0c9a1fb81e7d0bf3c0
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/res/layout/qs_detail_header.xml5
-rw-r--r--packages/SystemUI/res/values/styles.xml1
2 files changed, 4 insertions, 2 deletions
diff --git a/packages/SystemUI/res/layout/qs_detail_header.xml b/packages/SystemUI/res/layout/qs_detail_header.xml
index fcbb32c..f3f1918 100644
--- a/packages/SystemUI/res/layout/qs_detail_header.xml
+++ b/packages/SystemUI/res/layout/qs_detail_header.xml
@@ -15,7 +15,10 @@
limitations under the License.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- style="@style/BrightnessDialogContainer"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:padding="@dimen/qs_panel_padding"
android:background="@drawable/btn_borderless_rect" >
<TextView
diff --git a/packages/SystemUI/res/values/styles.xml b/packages/SystemUI/res/values/styles.xml
index 7301c99..27e58a4 100644
--- a/packages/SystemUI/res/values/styles.xml
+++ b/packages/SystemUI/res/values/styles.xml
@@ -168,7 +168,6 @@
<style name="BaseBrightnessDialogContainer">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>
- <item name="android:layout_alignParentBottom">true</item>
</style>
<style name="BrightnessDialogContainer" parent="@style/BaseBrightnessDialogContainer" />