Taking advantage of the translucent status bar in Android 4.4 KitKat

后端 未结 5 992
抹茶落季
抹茶落季 2021-02-01 05:45

When I released my note taking application for Android 4.0 - 4.3 I used a custom action bar color with a custom action bar icon (instead of using the standard light and dark act

5条回答
  •  离开以前
    2021-02-01 05:50

    To change the color of the status bar to windowBackground

     @color/window_bg
    

    To add the translucent effect to status and navigation bar

    true
    
    true
    

提交回复
热议问题