summaryrefslogtreecommitdiffstats
path: root/res
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 /res
parent20b2c91103049dca4d704a120f292d0db5870c1e (diff)
downloadandroid_packages_apps_Trebuchet-eb99f1648c63ad35e1a528e566aa47df581864f8.tar.gz
android_packages_apps_Trebuchet-eb99f1648c63ad35e1a528e566aa47df581864f8.tar.bz2
android_packages_apps_Trebuchet-eb99f1648c63ad35e1a528e566aa47df581864f8.zip
Fixing bug where scroll track was showing on the tablet.
Change-Id: Id86ed481af01bb209f9116041eaa542b9e373302
Diffstat (limited to 'res')
-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 9d86c48d1..00c87cb09 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 254ecb8d0..25b8195dd 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 45e85e15f..06f6ed0f0 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>