Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

statusbar text color android

getWindow().setStatusBarColor(ContextCompat.getColor(BookReaderActivity.this, R.color.black));
View decorView = getWindow().getDecorView(); //set status background black 
decorView.setSystemUiVisibility(decorView.getSystemUiVisibility() & ~View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); //set status text  light
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #statusbar #text #color #android
ADD COMMENT
Topic
Name
2+9 =