From c18c38f36eb04707a7995d69db17e1f0915c6d94 Mon Sep 17 00:00:00 2001 From: Adam Powell Date: Tue, 15 Mar 2011 11:57:46 -0700 Subject: Fix bug 4088936 - Tabs in the action bar don't seem to have a fading edge Change-Id: I23c736ad458c721dfa86563f66b42dd5d6ca708e --- core/java/com/android/internal/widget/ActionBarView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/java/com/android/internal/widget/ActionBarView.java b/core/java/com/android/internal/widget/ActionBarView.java index 586ba87..81d02ee 100644 --- a/core/java/com/android/internal/widget/ActionBarView.java +++ b/core/java/com/android/internal/widget/ActionBarView.java @@ -462,6 +462,7 @@ public class ActionBarView extends ViewGroup { private void ensureTabsExist() { if (mTabScrollView == null) { mTabScrollView = new HorizontalScrollView(getContext()); + mTabScrollView.setHorizontalFadingEdgeEnabled(true); mTabLayout = new LinearLayout(getContext(), null, com.android.internal.R.attr.actionBarTabBarStyle); mTabScrollView.addView(mTabLayout); -- cgit v1.1