Android statusbar overlay with ActionBar

后端 未结 4 790
猫巷女王i
猫巷女王i 2021-02-07 03:39

I know that I can make the ActionBar overlay using requestFeature(Window.FEATURE_ACTION_BAR_OVERLAY)
and can toggle/show the status bar in my screen (by switch

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-07 04:06

    so apparently, you can do this in Jellybean. google includes two examples in the api docs. here is a link: http://developer.android.com/reference/android/view/View.html#setSystemUiVisibility%28int%29

    summary: use setSystemUiVisibility on a view to toggle visibility (on jellybean+).

提交回复
热议问题