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

Commit 9fab04b9 authored by Alex Florescu's avatar Alex Florescu
Browse files

Set a maximum width for the settings bottom panel on large screens

Bug: 187297703
Test: manual
Change-Id: I18ec554dbb6edae88b1d73f4682a77106f787461
parent e9f836a0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -18,8 +18,9 @@
<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/panel_container"
    android:layout_width="match_parent"
    android:layout_width="@dimen/settings_panel_width"
    android:layout_height="wrap_content"
    android:layout_gravity="center_horizontal"
    android:background="@drawable/settings_panel_rounded_top_corner_background" >

    <LinearLayout
+2 −0
Original line number Diff line number Diff line
@@ -66,4 +66,6 @@
    <!-- Padding for screen pinning -->
    <dimen name="screen_pinning_padding_start">40dp</dimen>
    <dimen name="screen_pinning_padding_end">40dp</dimen>

    <dimen name="settings_panel_width">560dp</dimen>
</resources>
+1 −0
Original line number Diff line number Diff line
@@ -426,6 +426,7 @@
    <!-- Settings panel related dimensions -->
    <dimen name="settings_panel_corner_radius">28dp</dimen>
    <dimen name="settings_panel_title_margin">24dp</dimen>
    <dimen name="settings_panel_width">@dimen/match_parent</dimen>

    <!-- Text padding for EmptyTextSettings -->
    <dimen name="empty_text_padding">24dp</dimen>