Set colorSurface as the color of the toolbars
This commit is contained in:
1 parent
08115b4584
commit
f5a3d19f73
16 files changed
+22
-10
No files matched your search
@@ -39,7 +39,7 @@ public class BaseActivity extends AppCompatActivity {
|
||||
@Override
|
||||
protected void onStart() {
|
||||
super.onStart();
|
||||
initializeBarColors();
|
||||
setNavigationBarColor();
|
||||
initializeBrowser();
|
||||
}
|
||||
|
||||
@@ -111,8 +111,7 @@ public class BaseActivity extends AppCompatActivity {
|
||||
CastContext.getSharedInstance(this);
|
||||
}
|
||||
|
||||
private void initializeBarColors() {
|
||||
getWindow().setStatusBarColor(SurfaceColors.getColorForElevation(this, 10));
|
||||
private void setNavigationBarColor() {
|
||||
getWindow().setNavigationBarColor(SurfaceColors.getColorForElevation(this, 10));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user