OSDN Git Service

Make selection color fill underneath the scroll bar for downloads.
authorLeon Scroggins III <scroggo@google.com>
Mon, 22 Mar 2010 14:17:58 +0000 (10:17 -0400)
committerLeon Scroggins III <scroggo@google.com>
Mon, 22 Mar 2010 14:17:58 +0000 (10:17 -0400)
Fix for http://b/issue?id=2532825

Change-Id: Ida953c8c3db4e0391a72d07906db0c8bd91171b6

res/layout/browser_download_item.xml
src/com/android/browser/BrowserDownloadPage.java

index cb8a690..52f49c1 100644 (file)
@@ -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"
index 6a5ef28..18faf8b 100644 (file)
@@ -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();