From 32174c878c77b4e0f13449f4c26ff6b487bc7ca6 Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Tue, 19 Jul 2011 15:47:55 -0700 Subject: [PATCH] Fxing issues with the scroll bar - Removing track from AllApps - Scrollbar should reach edge of track now - Fixing flashing when going from AppsCustomize to workspace and switching tabs in AppsCustomize Change-Id: Id69bd04dc503608566c3a33a1344904e3db383bf --- res/layout-land/launcher.xml | 30 +++---- res/layout-port/launcher.xml | 36 ++++---- res/layout/apps_customize_pane.xml | 7 -- res/layout/scroll_indicator_track.xml | 4 +- res/values-land/dimens.xml | 2 + res/values-large/styles.xml | 5 -- res/values/dimens.xml | 3 +- res/values/styles.xml | 6 +- .../launcher2/AppsCustomizeTabHost.java | 4 + src/com/android/launcher2/Launcher.java | 26 +++--- src/com/android/launcher2/PagedView.java | 83 +++++++++++++++---- src/com/android/launcher2/Workspace.java | 7 ++ 12 files changed, 133 insertions(+), 80 deletions(-) diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml index 4aa487035c..428a0a73a7 100644 --- a/res/layout-land/launcher.xml +++ b/res/layout-land/launcher.xml @@ -4,9 +4,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -22,6 +22,19 @@ android:layout_width="match_parent" android:layout_height="match_parent"> + + + - - - + + + + - - - - \ No newline at end of file diff --git a/res/values-land/dimens.xml b/res/values-land/dimens.xml index 463cd17fab..305e730a1c 100644 --- a/res/values-land/dimens.xml +++ b/res/values-land/dimens.xml @@ -25,6 +25,8 @@ 0dp 0dp 8dp + @dimen/qsb_bar_height + @dimen/button_bar_height 100dip 74dip diff --git a/res/values-large/styles.xml b/res/values-large/styles.xml index bd4efe7d1b..17c806b7a0 100644 --- a/res/values-large/styles.xml +++ b/res/values-large/styles.xml @@ -18,11 +18,6 @@ --> - - - - - - +