package Ġcom . soc ros . android . app . g ite z . base . view Ċ Ċ import Ġandroid . annotation . Suppress Lint Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . View Ċ import Ġcom . soc ros . android . lib . android core . view . AC Activity Ċ import Ġcom . soc ros . android . lib . util . ApiVersion . V 2 6 _ ORE O Ċ import Ġcom . soc ros . android . lib . util . current Api Ċ Ċ /** Ċ Ġ* ĠActivity Ġthat Ġhandle Ġlight Ġbottom Ġnavigation Ġbar Ġprogram matically Ġon ĠAndroid ĠO re o ĠV 2 6 Ċ Ġ*/ Ċ abstract Ġclass ĠBase Activity Ġ: ĠAC Activity () Ġ{ Ċ ĉ @ Suppress Lint (" In lined Api ") Ċ ĉ override Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ Ċĉ ĉ if Ġ( current Api () Ġ== ĠV 2 6 _ ORE O ) Ġ{ Ċĉĉ ĉ findViewById < View >( android . R . id . content ). system Ui Visibility Ġ= ĠView . SYSTEM _ UI _ FLAG _ LIGHT _ NAV IG ATION _ BAR Ċĉ ĉ } Ċĉ ĉ super . onCreate ( savedInstanceState ) Ċ ĉ } Ċ } Ċ