Open ligi opened 10 years ago
I submitted a pull request that takes care of it for my app if you use the
getWindow().getDecorView().setSystemUiVisibility( View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION);
Method of adding translucency. I couldn't seem to get anything to work using android:fitsSystemWindows.
great! at the moment I use android:fitsSystemWindows - do you have an example of the other method? My initial attempts where not producing the result I wanted
Check out the merge request from issue 31: Here is the code commit:
int translucentLolliPop = activity.getWindow().getDecorView().getSystemUiVisibility(); boolean isTranslucentLolliPop = (translucentLolliPop== View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION);
if (isTranslucent || isTranslucentLolliPop) {
... }
just playing around with L and stumbled uppon this:
a fitsSystemWindows on the right place might help