Merge "Set menu item to MATCH_PARENT for tap target" into sc-dev

This commit is contained in:
Vinit Nayak 2021-05-05 17:43:27 +00:00 committed by Android (Google) Code Review
commit bf51afd420
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ public class PortraitPagedViewHandler implements PagedOrientationHandler {
} else {
// Phone Portrait, LargeScreen Landscape/Portrait
viewGroup.setOrientation(LinearLayout.HORIZONTAL);
lp.width = LinearLayout.LayoutParams.WRAP_CONTENT;
lp.width = LinearLayout.LayoutParams.MATCH_PARENT;
}
lp.height = LinearLayout.LayoutParams.WRAP_CONTENT;