summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2011-03-15 12:06:45 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-03-15 12:06:45 -0700
commit1d233d9708e39f5b57b231746df658567b153484 (patch)
tree3a944cdfbc7f2ee0f1f8f79e622461bd41417aab
parentc2db0d405b7d4b7654dbd3740cc065802e4c294e (diff)
parentc18c38f36eb04707a7995d69db17e1f0915c6d94 (diff)
downloadframeworks_base-1d233d9708e39f5b57b231746df658567b153484.zip
frameworks_base-1d233d9708e39f5b57b231746df658567b153484.tar.gz
frameworks_base-1d233d9708e39f5b57b231746df658567b153484.tar.bz2
Merge "Fix bug 4088936 - Tabs in the action bar don't seem to have a fading edge" into honeycomb-mr1
-rw-r--r--core/java/com/android/internal/widget/ActionBarView.java1
1 files changed, 1 insertions, 0 deletions
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);