Merge changes from topic "settings_collapsing_toolbar"
* changes: Disable the title of mobile network Add CollapsingToolbarLayout for sub settings
This commit is contained in:
committed by
Android (Google) Code Review
commit
b63f537238
@@ -115,6 +115,9 @@ public class MobileNetworkActivity extends SettingsBaseActivity
|
||||
final ActionBar actionBar = getActionBar();
|
||||
if (actionBar != null) {
|
||||
actionBar.setDisplayHomeAsUpEnabled(true);
|
||||
// TODO(b/176882938): Enable title after material component updated
|
||||
// If CollapsingToolbarLayout is applied, the old action bar won't show title.
|
||||
actionBar.setDisplayShowTitleEnabled(mCollapsingToolbarLayout == null);
|
||||
}
|
||||
|
||||
getProxySubscriptionManager().setLifecycle(getLifecycle());
|
||||
|
Reference in New Issue
Block a user