Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85b866d5 authored by Jason Monk's avatar Jason Monk
Browse files

Update QS header to handle 320dp without overlapping

Change-Id: I7f52ed8aac14bea6c2cdc9a6ef8087ff6ef1b802
Fixes: 28181221
parent 49425d61
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -21,4 +21,6 @@
     for different hardware and product builds. -->
<resources>
    <integer name="quick_settings_num_rows">2</integer>

    <bool name="quick_settings_show_date">true</bool>
</resources>
+2 −0
Original line number Diff line number Diff line
@@ -268,5 +268,7 @@
    <!-- Nav bar button default ordering/layout -->
    <string name="config_navBarLayout" translatable="false">space,back;home;recent,menu_ime</string>

    <bool name="quick_settings_show_date">false</bool>

</resources>
+2 −0
Original line number Diff line number Diff line
@@ -106,6 +106,8 @@ public class QuickStatusBarHeader extends BaseStatusBarHeader implements
        mDateTimeGroup = (ViewGroup) findViewById(R.id.date_time_group);
        mDateTimeGroup.setPivotX(0);
        mDateTimeGroup.setPivotY(0);
        boolean showDate = getResources().getBoolean(R.bool.quick_settings_show_date);
        findViewById(R.id.date).setVisibility(showDate ? View.VISIBLE : View.GONE);

        mExpandIndicator = (ExpandableIndicator) findViewById(R.id.expand_indicator);