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

Commit bd4d5a7a authored by D4rKn3sSyS's avatar D4rKn3sSyS Committed by Gerrit Code Review
Browse files

Fix system bar scrollview on landscape

Jellybean doesn't defines a size for landscape tablet powerwidget, then it causes
cut off when you add more than the stock jellybean toggles. Fix it by
adding a non-hardcoded dimension depending on the screen orientation

Change-Id: Id9350fce166ad173cf17d7fc877bf7e48c409457
parent 7d4e8608
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
<ScrollView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
    android:layout_height="match_parent"
    android:layout_height="@dimen/system_bar_settings_view_height"
    android:layout_width="match_parent">

<com.android.systemui.statusbar.tablet.SettingsView
+3 −0
Original line number Diff line number Diff line
@@ -37,4 +37,7 @@
    <!-- Where to place the app icon over the thumbnail -->
    <dimen name="status_bar_recents_app_icon_left_margin">8dp</dimen>
    <dimen name="status_bar_recents_app_icon_top_margin">8dp</dimen>

    <!-- Height of the system bar settings view -->
    <dimen name="system_bar_settings_view_height">300dp</dimen>
</resources>
+3 −0
Original line number Diff line number Diff line
@@ -156,4 +156,7 @@

    <!-- Height of the carrier/wifi name label -->
    <dimen name="carrier_label_height">24dp</dimen>

    <!-- Height of the system bar settings view -->
    <dimen name="system_bar_settings_view_height">-1dp</dimen>
</resources>