OSDN Git Service

Fix clipping for date and time on QS
authorKazuki Kobayashi <kazuki.x.kobayashi@sonymobile.com>
Mon, 26 Dec 2016 05:03:18 +0000 (14:03 +0900)
committerYoshinori Hirano <Yoshinori.Hirano@sonymobile.com>
Wed, 18 Jan 2017 06:33:31 +0000 (06:33 +0000)
The bottom part of date and time on Quick Settings is cut off
when changing font size to "Largest" and display size to "Small".
To fix this issue, the height should be changed from 19dp
to "wrap_content".

Bug: 34365385
Test: manual - change font size to "Largest" and
               display size to "Small", and then open QS panel

Change-Id: I37047e57f535dfa8fcaccc8f9dd78c4ef699bc27

packages/SystemUI/res/layout-sw410dp/status_bar_alarm_group.xml

index a726161..1059ad4 100644 (file)
@@ -27,7 +27,7 @@
     <LinearLayout
         android:id="@+id/date_time_group"
         android:layout_width="wrap_content"
-        android:layout_height="19dp"
+        android:layout_height="wrap_content"
         android:orientation="horizontal"
         android:focusable="true" >