am 1d233d97
: Merge "Fix bug 4088936 - Tabs in the action bar don\'t seem to have a fading edge" into honeycomb-mr1
* commit '1d233d9708e39f5b57b231746df658567b153484': Fix bug 4088936 - Tabs in the action bar don't seem to have a fading edge
This commit is contained in:
@ -462,6 +462,7 @@ public class ActionBarView extends ViewGroup {
|
|||||||
private void ensureTabsExist() {
|
private void ensureTabsExist() {
|
||||||
if (mTabScrollView == null) {
|
if (mTabScrollView == null) {
|
||||||
mTabScrollView = new HorizontalScrollView(getContext());
|
mTabScrollView = new HorizontalScrollView(getContext());
|
||||||
|
mTabScrollView.setHorizontalFadingEdgeEnabled(true);
|
||||||
mTabLayout = new LinearLayout(getContext(), null,
|
mTabLayout = new LinearLayout(getContext(), null,
|
||||||
com.android.internal.R.attr.actionBarTabBarStyle);
|
com.android.internal.R.attr.actionBarTabBarStyle);
|
||||||
mTabScrollView.addView(mTabLayout);
|
mTabScrollView.addView(mTabLayout);
|
||||||
|
Reference in New Issue
Block a user