Single pane for 10" Settings

Change-Id: I960e4be3cfb19ffec4100f8766742d6fb17dda4a
This commit is contained in:
Amith Yamasani
2013-08-05 10:07:23 -07:00
parent 8a181dd0d1
commit 56f51a8927
25 changed files with 105 additions and 46 deletions

View File

@@ -312,15 +312,10 @@ public class DataUsageSummary extends Fragment {
// on parent container for inset.
final boolean shouldInset = mListView.getScrollBarStyle()
== View.SCROLLBARS_OUTSIDE_OVERLAY;
if (shouldInset) {
mInsetSide = view.getResources().getDimensionPixelOffset(
com.android.internal.R.dimen.preference_fragment_padding_side);
} else {
mInsetSide = 0;
}
mInsetSide = 0;
// adjust padding around tabwidget as needed
prepareCustomPreferencesList(container, view, mListView, true);
prepareCustomPreferencesList(container, view, mListView, false);
mTabHost.setup();
mTabHost.setOnTabChangedListener(mTabListener);