Browse Source

Setting the background of the item

master
anthony restaino 7 years ago
parent
commit
62f5cda7af
  1. 3
      app/src/main/res/layout/bookmark_drawer.xml
  2. 4
      app/src/main/res/layout/bookmark_list_item.xml

3
app/src/main/res/layout/bookmark_drawer.xml

@ -49,8 +49,7 @@ @@ -49,8 +49,7 @@
android:layout_height="0dp"
android:layout_weight="1"
android:divider="@null"
android:dividerHeight="0dp"
android:listSelector="?attr/listBackground"/>
android:dividerHeight="0dp"/>
<LinearLayout
android:layout_width="match_parent"

4
app/src/main/res/layout/bookmark_list_item.xml

@ -1,7 +1,9 @@ @@ -1,7 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="56dp"
android:background="?attr/listBackground"
android:gravity="center_vertical"
android:orientation="horizontal">

Loading…
Cancel
Save