Skip to content
Snippets Groups Projects
Commit 2792547d authored by Julia Tuttle's avatar Julia Tuttle Committed by Cherrypicker Worker
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
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f47606f122049bd73ce39b1e449cbda794a74395)
Merged-In: Ic3871b721b9ecf37abc6d92b0378003806f20ff2
Change-Id: Ic3871b721b9ecf37abc6d92b0378003806f20ff2
parent afe50c04
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