Merge "Let chips take full screen width." into sc-dev am: 06b41019ef

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13810241

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I03e74df1a3bb781da14b81181a3bc39840810c9b
This commit is contained in:
Sreyas Rangaraju authored and Automerger Merge Worker committed 2021-03-11 20:47:13 +00:00
commit 49df6939d3
1 file changed
+1 -1
@@ -769,7 +769,7 @@ public class TaskView extends FrameLayout implements PageCallbacks, Reusable {
}
if (view != null) {
mContextualChipWrapper = view;
LayoutParams layoutParams = new LayoutParams(LayoutParams.MATCH_PARENT,
LayoutParams layoutParams = new LayoutParams(((View) getParent()).getMeasuredWidth(),
LayoutParams.WRAP_CONTENT);
layoutParams.gravity = BOTTOM | CENTER_HORIZONTAL;
int expectedChipHeight = getExpectedViewHeight(view);