summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-07-07 15:29:54 -0700
committerWinson Chung <winsonc@google.com>2011-07-07 15:33:51 -0700
commiteb99f1648c63ad35e1a528e566aa47df581864f8 (patch)
tree0e292ca2b1bcfa8961e874859ab33ccb897cea9e
parent20b2c91103049dca4d704a120f292d0db5870c1e (diff)
downloadpackages_apps_trebuchet-eb99f1648c63ad35e1a528e566aa47df581864f8.zip
packages_apps_trebuchet-eb99f1648c63ad35e1a528e566aa47df581864f8.tar.gz
packages_apps_trebuchet-eb99f1648c63ad35e1a528e566aa47df581864f8.tar.bz2
Fixing bug where scroll track was showing on the tablet.
Change-Id: Id86ed481af01bb209f9116041eaa542b9e373302
-rw-r--r--res/layout/apps_customize_pane.xml1
-rw-r--r--res/values-large/styles.xml5
-rw-r--r--res/values/styles.xml4
3 files changed, 10 insertions, 0 deletions
diff --git a/res/layout/apps_customize_pane.xml b/res/layout/apps_customize_pane.xml
index 9d86c48..00c87cb 100644
--- a/res/layout/apps_customize_pane.xml
+++ b/res/layout/apps_customize_pane.xml
@@ -79,6 +79,7 @@
launcher:maxGap="@dimen/workspace_max_gap" />
<include
+ style="@style/AppsCustomizeScrollTrack"
android:id="@+id/paged_view_indicator_track"
layout="@layout/scroll_indicator_track"
android:layout_width="match_parent"
diff --git a/res/values-large/styles.xml b/res/values-large/styles.xml
index 254ecb8..25b8195 100644
--- a/res/values-large/styles.xml
+++ b/res/values-large/styles.xml
@@ -18,6 +18,11 @@
-->
<resources>
+<!-- AppsCustomize -->
+ <style name="AppsCustomizeScrollTrack">
+ <item name="android:visibility">gone</item>
+ </style>
+
<!-- Workspace -->
<style name="ScrollIndicatorTrack">
<item name="android:visibility">gone</item>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 45e85e1..06f6ed0 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -29,6 +29,10 @@
<item name="android:windowNoTitle">true</item>
</style>
+ <style name="AppsCustomizeScrollTrack">
+ <item name="android:visibility">visible</item>
+ </style>
+
<style name="AnimationPreview">
<item name="android:windowEnterAnimation">@anim/fade_in_fast</item>
<item name="android:windowExitAnimation">@anim/fade_out_fast</item>