]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/bookmarks_item_linearlayout.xml
Improve the scrolling of bookmarks. https://redmine.stoutner.com/issues/42.
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / bookmarks_item_linearlayout.xml
index 73e797ac27efa7f4a2fed246f0a65e7b0da26ff0..9a27fb90c12dbcc03115c7c81904734103b22ec7 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 
 <!--
-  Copyright 2016 Soren Stoutner <soren@stoutner.com>.
+  Copyright © 2016-2017 Soren Stoutner <soren@stoutner.com>.
 
   This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
 
@@ -25,7 +25,7 @@
     android:layout_height="wrap_content"
     android:layout_width="match_parent"
     android:orientation="horizontal"
-    android:background="@drawable/listview_item_background_selector" >
+    android:background="?attr/listSelectorDrawable" >
 
     <ImageView
         android:id="@+id/bookmark_favorite_icon"
@@ -39,7 +39,7 @@
         android:id="@+id/bookmark_name"
         android:layout_height="wrap_content"
         android:layout_width="wrap_content"
-        android:textColor="@color/black"
+        android:textColor="?android:attr/textColorPrimary"
         android:textSize="22sp"
         android:layout_margin="10dp"
         android:maxLines="1"