Java Code Examples for com.jaeger.library.StatusBarUtil#hideFakeStatusBarView()
The following examples show how to use
com.jaeger.library.StatusBarUtil#hideFakeStatusBarView() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PlayPxgavActivity.java From v9porn with MIT License | 5 votes |
@Override public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); if (newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE || newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_USER) { //这里没必要,因为我们使用的是setColorForSwipeBack,并不会有这个虚拟的view,而是设置的padding StatusBarUtil.hideFakeStatusBarView(this); } else if (newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_PORTRAIT) { setStatusBarColor(ContextCompat.getColor(this, R.color.colorPrimary)); } }
Example 2
Source File: BasePlayVideo.java From v9porn with MIT License | 5 votes |
@Override public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); if (newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE || newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_USER) { //这里没必要,因为我们使用的是setColorForSwipeBack,并不会有这个虚拟的view,而是设置的padding StatusBarUtil.hideFakeStatusBarView(this); } else if (newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_PORTRAIT) { setStatusBarColor(ContextCompat.getColor(this, R.color.colorPrimary)); } }
Example 3
Source File: AxglePlayActivity.java From v9porn with MIT License | 5 votes |
@Override public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); if (newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE || newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_USER) { //这里没必要,因为我们使用的是setColorForSwipeBack,并不会有这个虚拟的view,而是设置的padding StatusBarUtil.hideFakeStatusBarView(this); } else if (newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_PORTRAIT) { setStatusBarColor(ContextCompat.getColor(this, R.color.colorPrimary)); } }
Example 4
Source File: KeDouPlayActivity.java From v9porn with MIT License | 5 votes |
@Override public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); if (newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE || newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_USER) { //这里没必要,因为我们使用的是setColorForSwipeBack,并不会有这个虚拟的view,而是设置的padding StatusBarUtil.hideFakeStatusBarView(this); } else if (newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_PORTRAIT) { setStatusBarColor(ContextCompat.getColor(this, R.color.colorPrimary)); } }
Example 5
Source File: PlayPxgavActivity.java From v9porn with MIT License | 5 votes |
@Override public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); if (newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE || newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_USER) { //这里没必要,因为我们使用的是setColorForSwipeBack,并不会有这个虚拟的view,而是设置的padding StatusBarUtil.hideFakeStatusBarView(this); } else if (newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_PORTRAIT) { setStatusBarColor(ContextCompat.getColor(this, R.color.colorPrimary)); } }
Example 6
Source File: BasePlayVideo.java From v9porn with MIT License | 5 votes |
@Override public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); if (newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE || newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_USER) { //这里没必要,因为我们使用的是setColorForSwipeBack,并不会有这个虚拟的view,而是设置的padding StatusBarUtil.hideFakeStatusBarView(this); } else if (newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_PORTRAIT) { setStatusBarColor(ContextCompat.getColor(this, R.color.colorPrimary)); } }
Example 7
Source File: AxglePlayActivity.java From v9porn with MIT License | 5 votes |
@Override public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); if (newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE || newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_USER) { //这里没必要,因为我们使用的是setColorForSwipeBack,并不会有这个虚拟的view,而是设置的padding StatusBarUtil.hideFakeStatusBarView(this); } else if (newConfig.orientation == ActivityInfo.SCREEN_ORIENTATION_PORTRAIT) { setStatusBarColor(ContextCompat.getColor(this, R.color.colorPrimary)); } }