Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment