Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

statusbar text color android

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