Merge "Use common xml file for multi-tab settings." into mnc-dev

This commit is contained in:
Sanket Padawe
2015-07-16 05:01:06 +00:00
committed by Android (Google) Code Review
2 changed files with 1 additions and 61 deletions

View File

@@ -150,7 +150,7 @@ public class SimStatus extends InstrumentedPreferenceActivity {
mSir = mSelectableSubInfos.size() > 0 ? mSelectableSubInfos.get(0) : null;
if (mSelectableSubInfos.size() > 1) {
setContentView(R.layout.sim_information);
setContentView(com.android.internal.R.layout.common_tab_settings);
mTabHost = (TabHost) findViewById(android.R.id.tabhost);
mTabWidget = (TabWidget) findViewById(android.R.id.tabs);