summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2010-03-22 10:17:58 -0400
committerLeon Scroggins III <scroggo@google.com>2010-03-22 10:17:58 -0400
commit1c330f4fbae2a2335785d5f7d8cb4ed1591e34d7 (patch)
tree255a65a1af6a985ff9addfdfeae0da0b4a288544
parent3d8b70cc80a42ce1b7146aade2a4a0fca0b1eba2 (diff)
downloadpackages_apps_browser-1c330f4fbae2a2335785d5f7d8cb4ed1591e34d7.zip
packages_apps_browser-1c330f4fbae2a2335785d5f7d8cb4ed1591e34d7.tar.gz
packages_apps_browser-1c330f4fbae2a2335785d5f7d8cb4ed1591e34d7.tar.bz2
Make selection color fill underneath the scroll bar for downloads.
Fix for http://b/issue?id=2532825 Change-Id: Ida953c8c3db4e0391a72d07906db0c8bd91171b6
-rw-r--r--res/layout/browser_download_item.xml4
-rw-r--r--src/com/android/browser/BrowserDownloadPage.java1
2 files changed, 3 insertions, 2 deletions
diff --git a/res/layout/browser_download_item.xml b/res/layout/browser_download_item.xml
index cb8a690..52f49c1 100644
--- a/res/layout/browser_download_item.xml
+++ b/res/layout/browser_download_item.xml
@@ -21,7 +21,9 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:layout_height="wrap_content"
+ android:paddingRight="?android:attr/scrollbarSize"
+ >
<ImageView android:id="@+id/download_icon"
android:layout_width="@android:dimen/app_icon_size"
diff --git a/src/com/android/browser/BrowserDownloadPage.java b/src/com/android/browser/BrowserDownloadPage.java
index 6a5ef28..18faf8b 100644
--- a/src/com/android/browser/BrowserDownloadPage.java
+++ b/src/com/android/browser/BrowserDownloadPage.java
@@ -102,7 +102,6 @@ public class BrowserDownloadPage extends ExpandableListActivity {
Downloads.Impl.COLUMN_LAST_MODIFICATION));
setListAdapter(mDownloadAdapter);
- mListView.setScrollBarStyle(View.SCROLLBARS_INSIDE_INSET);
mListView.setOnCreateContextMenuListener(this);
Intent intent = getIntent();