HACK: Getting rid of all apps button / all apps from AppsCustomizePagedView
Change-Id: I74e4a53e9486237ad246ebdfa9e97c6ed9475b58
This commit is contained in:
1 parent
b5fe60c8a5
commit
947dc54319
5 files changed
+38
-58
No files matched your search
@@ -80,9 +80,7 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona
|
||||
setCurrentTabByTag(getTabTagForContentType(type));
|
||||
setOnTabChangedListener(this);
|
||||
}
|
||||
void selectAppsTab() {
|
||||
setContentTypeImmediate(AppsCustomizePagedView.ContentType.Applications);
|
||||
}
|
||||
|
||||
void selectWidgetsTab() {
|
||||
setContentTypeImmediate(AppsCustomizePagedView.ContentType.Widgets);
|
||||
}
|
||||
@@ -121,7 +119,6 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona
|
||||
tabView = (TextView) mLayoutInflater.inflate(R.layout.tab_widget_indicator, tabs, false);
|
||||
tabView.setText(label);
|
||||
tabView.setContentDescription(label);
|
||||
addTab(newTabSpec(APPS_TAB_TAG).setIndicator(tabView).setContent(contentFactory));
|
||||
label = getContext().getString(R.string.widgets_tab_label);
|
||||
tabView = (TextView) mLayoutInflater.inflate(R.layout.tab_widget_indicator, tabs, false);
|
||||
tabView.setText(label);
|
||||
|
||||
Reference in new issue
Block a user