nav bar on all apps container should use light theme.
b/33553066 Change-Id: Ic9eb796a01eaa8d00fbeedeb5456876b668e6db2
This commit is contained in:
1 parent
4633be64e8
commit
df9f14746c
4 files changed
+21
-4
No files matched your search
@@ -489,6 +489,10 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc
|
||||
setLayoutParams(mlp);
|
||||
} else {
|
||||
View navBarBg = findViewById(R.id.nav_bar_bg);
|
||||
if (Utilities.isAtLeastO()) {
|
||||
navBarBg.setBackgroundColor(getResources().getColor(
|
||||
R.color.all_apps_light_navbar_color));
|
||||
}
|
||||
ViewGroup.LayoutParams navBarBgLp = navBarBg.getLayoutParams();
|
||||
navBarBgLp.height = insets.bottom;
|
||||
navBarBg.setLayoutParams(navBarBgLp);
|
||||
|
||||
Reference in new issue
Block a user