Merge "Fix the scrolling problems in homepage" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
26ffb4d3d6
@@ -46,11 +46,7 @@ public class SettingsHomepageActivity extends FragmentActivity {
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
setContentView(R.layout.settings_homepage_container);
|
||||
final View root = findViewById(R.id.settings_homepage_container);
|
||||
root.setSystemUiVisibility(
|
||||
View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_LAYOUT_STABLE);
|
||||
|
||||
final View appBar = findViewById(R.id.app_bar_container);
|
||||
appBar.setMinimumHeight(getSearchBoxHeight());
|
||||
|
Reference in New Issue
Block a user