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

Commit f47606f1 authored by Julia Tuttle's avatar Julia Tuttle
Browse files

ChannelEditorDialog: use @dimen/large_dialog_width

ChannelEditorDialog (which uses notif_half_shelf as the root layout) was
displaying with layout_width wrap_content, which meant the dialog was
snugly wrapped around the app icon, name, and global notification
toggle.

We already have a convenient resource, @dimen/large_dialog_width, for
dialogs like this, so use it!

Bug: 309133675
Flag: NA
Test: manual
Change-Id: Ic3871b721b9ecf37abc6d92b0378003806f20ff2
parent b693882e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -19,11 +19,11 @@
        xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
        android:id="@+id/half_shelf_dialog"
        android:orientation="vertical"
        android:layout_width="wrap_content"
        android:layout_width="@dimen/large_dialog_width"
        android:layout_height="wrap_content"
        android:layout_gravity="center_horizontal|bottom"
        android:paddingStart="4dp"
        android:paddingEnd="4dp">
        android:paddingLeft="@dimen/dialog_side_padding"
        android:paddingRight="@dimen/dialog_side_padding">

    <LinearLayout
        android:id="@+id/half_shelf"