nav bar on all apps container should use light theme.

b/33553066
Change-Id: Ic9eb796a01eaa8d00fbeedeb5456876b668e6db2
This commit is contained in:
Hyunyoung Song
2016-12-09 13:56:15 -08:00
parent 4633be64e8
commit df9f14746c
4 changed files with 21 additions and 4 deletions

View File

@@ -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);