Wrapping thw widgetList inside a layout, so that it has the same view structure as allApps

Change-Id: I28b035beb1c7e13101ec20ff671d3cad5f757c0e
This commit is contained in:
Sunny Goyal committed 2016-02-19 09:35:43 -08:00
1 parent c42ac0a5a6
commit a6194d3d92
4 files changed
+23 -22

No files matched your search

@@ -138,6 +138,10 @@ public abstract class BaseContainerView extends FrameLayout implements Insettabl
mRevealView.setBackground(background.getConstantState().newDrawable());
mContent.setBackground(background);
// We let the content have a intent background, but still have full width.
// This allows the scroll bar to be used responsive outside the background bounds as well.
mContent.setPadding(0, 0, 0, 0);
Rect bgPadding = new Rect();
background.getPadding(bgPadding);
onUpdateBgPadding(padding, bgPadding);