summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2010-11-30 17:41:57 -0800
committerJohn Reck <jreck@google.com>2010-11-30 17:44:01 -0800
commit93aa074eb80dd6785d379a2b6c162f8619ee50d0 (patch)
tree8b6daf88feff9b07a4eb4dbc22e863d5b57a6d56 /res/drawable
parent7a5cf4714453bd982afc662f373d0c38cddfb023 (diff)
downloadpackages_apps_browser-93aa074eb80dd6785d379a2b6c162f8619ee50d0.zip
packages_apps_browser-93aa074eb80dd6785d379a2b6c162f8619ee50d0.tar.gz
packages_apps_browser-93aa074eb80dd6785d379a2b6c162f8619ee50d0.tar.bz2
Fixes bookmark scrolling highlight
Bug: 3225547 Fixes the issue where the pressed indicator would scroll with the page and persisted after the user lifted their finger. Change-Id: I36d1d9ab2ad5d30cde3312e03c66b56378ae7d68
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/bookmark_thumb_selector.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/res/drawable/bookmark_thumb_selector.xml b/res/drawable/bookmark_thumb_selector.xml
new file mode 100644
index 0000000..5219d90
--- /dev/null
+++ b/res/drawable/bookmark_thumb_selector.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ 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.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_pressed="true" android:drawable="@drawable/frame_bookmark_thumb_pressed" />
+ <item android:drawable="@android:color/transparent" />
+</selector>
+