Make subsettings display edge-to-edge
Fixes: 132182711 Test: visual Change-Id: I3b0635cba359f74d463c2360323d80c5c9533228
This commit is contained in:
@@ -66,7 +66,12 @@ public class SettingsBaseActivity extends FragmentActivity {
|
||||
requestWindowFeature(Window.FEATURE_NO_TITLE);
|
||||
}
|
||||
super.setContentView(R.layout.settings_base_layout);
|
||||
final View decorView = getWindow().getDecorView();
|
||||
|
||||
decorView.setSystemUiVisibility(
|
||||
decorView.getSystemUiVisibility()
|
||||
| View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
|
||||
| View.SYSTEM_UI_FLAG_LAYOUT_STABLE);
|
||||
final Toolbar toolbar = findViewById(R.id.action_bar);
|
||||
if (theme.getBoolean(android.R.styleable.Theme_windowNoTitle, false)) {
|
||||
toolbar.setVisibility(View.GONE);
|
||||
|
Reference in New Issue
Block a user