mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
Set colorSurface as the color of the toolbars
This commit is contained in:
parent
08115b4584
commit
f5a3d19f73
16 changed files with 22 additions and 10 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue