Horje
how to change status bar color Code Example
how to change status bar color
Window window = activity.getWindow();

// clear FLAG_TRANSLUCENT_STATUS flag:
window.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);

// add FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS flag to the window
window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);

// finally change the color
window.setStatusBarColor(ContextCompat.getColor(activity,R.color.my_statusbar_color));
how to change status bar color
<item name="colorControlNormal">@color/white</item>
        <item name="colorControlActivated">@color/text_color_selected</item>
how to change status bar color
<item name="android:statusBarColor">@color/app_main_background</item>
        <item name="android:navigationBarColor">@color/app_main_background</item>
        <item name="android:windowLightStatusBar">true</item>
        <item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">true</item>




Whatever

Related
Number of power set of {a, b}, where a and b are distinct elements. Code Example Number of power set of {a, b}, where a and b are distinct elements. Code Example
mp3 2022 Code Example mp3 2022 Code Example
vlc toggle subtitles mac shortcut Code Example vlc toggle subtitles mac shortcut Code Example
web server without port forwarding Code Example web server without port forwarding Code Example
ionic pull to refresh working in the end of page Code Example ionic pull to refresh working in the end of page Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7