Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.KITKAT) {
- int uiOptions = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;
- View decorView = getWindow().getDecorView();
- decorView.setSystemUiVisibility(uiOptions);
- }
- RootRelativeLayout.requestLayout();
- <RelativeLayout xmlns:tools="http://schemas.android.com/tools"
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/root_relativelayout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:fitsSystemWindows="true"
- android:clipToPadding="true">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:orientation="horizontal">
- </RelativeLayout>
- </RelativeLayout>
Add Comment
Please, Sign In to add comment