mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Making Launcher tabs more consistent with system. (Bug: 5184498)
Change-Id: Idac7c14fdefcdad0bb88b1c5b34fa3e10c2733ac
This commit is contained in:
@@ -107,11 +107,16 @@ public class AppsCustomizeTabHost extends TabHost implements LauncherTransitiona
|
||||
|
||||
// Create the tabs
|
||||
TextView tabView;
|
||||
String label;
|
||||
label = mContext.getString(R.string.all_apps_button_label);
|
||||
tabView = (TextView) mLayoutInflater.inflate(R.layout.tab_widget_indicator, tabs, false);
|
||||
tabView.setText(mContext.getString(R.string.all_apps_button_label));
|
||||
tabView.setText(label);
|
||||
tabView.setContentDescription(label);
|
||||
addTab(newTabSpec(APPS_TAB_TAG).setIndicator(tabView).setContent(contentFactory));
|
||||
label = mContext.getString(R.string.widgets_tab_label);
|
||||
tabView = (TextView) mLayoutInflater.inflate(R.layout.tab_widget_indicator, tabs, false);
|
||||
tabView.setText(mContext.getString(R.string.widgets_tab_label));
|
||||
tabView.setText(label);
|
||||
tabView.setContentDescription(label);
|
||||
addTab(newTabSpec(WIDGETS_TAB_TAG).setIndicator(tabView).setContent(contentFactory));
|
||||
setOnTabChangedListener(this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user