diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-24 14:22:33 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-24 14:22:33 -0700 |
commit | eaa36f22be194f7a8a950fb3056d32c63703ba49 (patch) | |
tree | d1deddde5ccfae80ab876e59058ce23c276a7007 /library/src/main/kotlin/ca/allanwang/kau/kpref/KPrefActivity.kt | |
parent | e38252e1576c7259626222067f872ffbe2b25ccb (diff) | |
download | kau-eaa36f22be194f7a8a950fb3056d32c63703ba49.tar.gz kau-eaa36f22be194f7a8a950fb3056d32c63703ba49.tar.bz2 kau-eaa36f22be194f7a8a950fb3056d32c63703ba49.zip |
Fix kpref nav overlay
Diffstat (limited to 'library/src/main/kotlin/ca/allanwang/kau/kpref/KPrefActivity.kt')
-rw-r--r-- | library/src/main/kotlin/ca/allanwang/kau/kpref/KPrefActivity.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/main/kotlin/ca/allanwang/kau/kpref/KPrefActivity.kt b/library/src/main/kotlin/ca/allanwang/kau/kpref/KPrefActivity.kt index 0c6b768..6103e50 100644 --- a/library/src/main/kotlin/ca/allanwang/kau/kpref/KPrefActivity.kt +++ b/library/src/main/kotlin/ca/allanwang/kau/kpref/KPrefActivity.kt @@ -75,7 +75,7 @@ abstract class KPrefActivity : AppCompatActivity(), KPrefActivityContract { toolbar.setNavigationOnClickListener { onBackPressed() } setDisplayShowTitleEnabled(false) } - window.decorView.systemUiVisibility = View.SYSTEM_UI_FLAG_LAYOUT_STABLE or View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN or View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION + window.decorView.systemUiVisibility = View.SYSTEM_UI_FLAG_LAYOUT_STABLE or View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN statusBarColor = 0x30000000 toolbarCanvas.set(resolveColor(R.attr.colorPrimary)) bgCanvas.set(resolveColor(android.R.attr.colorBackground)) |