Merge "Fixing WidgetBottomSheet getting cut off around insets" into udc-dev
This commit is contained in:
commit
3a75b494f2
2 files changed
+6
-3
No files matched your search
@@ -252,8 +252,11 @@ public class WidgetsBottomSheet extends BaseWidgetSheet {
|
||||
super.setInsets(insets);
|
||||
int bottomPadding = Math.max(insets.bottom, mNavBarScrimHeight);
|
||||
|
||||
mContent.setPadding(mContent.getPaddingStart(),
|
||||
mContent.getPaddingTop(), mContent.getPaddingEnd(),
|
||||
View widgetsTable = findViewById(R.id.widgets_table);
|
||||
widgetsTable.setPadding(
|
||||
widgetsTable.getPaddingLeft(),
|
||||
widgetsTable.getPaddingTop(),
|
||||
widgetsTable.getPaddingRight(),
|
||||
bottomPadding);
|
||||
if (bottomPadding > 0) {
|
||||
setupNavBarColor();
|
||||
|
||||
Reference in new issue
Block a user