summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/headlines_row_selected_unread_compact.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-11-16 13:13:39 +0400
committerAndrew Dolgov <[email protected]>2014-11-16 13:13:39 +0400
commite5ab4e59686632a28debc6039f1c6927fffe9643 (patch)
tree28b76c2de2c47b048126058397b40cb140f4b3b7 /org.fox.ttrss/src/main/res/layout/headlines_row_selected_unread_compact.xml
parent51d4bef187139700252ae9c7ff6ef1a5cd48c399 (diff)
add gmail-like round drawable for compact mode in place of checkbox
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout/headlines_row_selected_unread_compact.xml')
-rw-r--r--org.fox.ttrss/src/main/res/layout/headlines_row_selected_unread_compact.xml24
1 files changed, 18 insertions, 6 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row_selected_unread_compact.xml b/org.fox.ttrss/src/main/res/layout/headlines_row_selected_unread_compact.xml
index f5c3d10c..7b2a8983 100644
--- a/org.fox.ttrss/src/main/res/layout/headlines_row_selected_unread_compact.xml
+++ b/org.fox.ttrss/src/main/res/layout/headlines_row_selected_unread_compact.xml
@@ -10,13 +10,25 @@
android:background="?headlineSelectedBackground"
tools:ignore="HardcodedText" >
- <CheckBox
- android:id="@+id/selected"
+ <FrameLayout
+ android:layout_marginRight="8dp"
+ android:layout_gravity="center_vertical|left"
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="0"
- android:layout_gravity="center"
- android:focusable="false" />
+ android:layout_height="wrap_content">
+
+ <ImageView
+ android:clickable="true"
+ android:layout_width="48dp"
+ android:layout_height="48dp"
+ android:id="@+id/text_image"/>
+
+ <ImageView
+ android:layout_width="48dp"
+ android:layout_height="48dp"
+ android:src="@drawable/check_sm"
+ android:id="@+id/text_checked"/>
+
+ </FrameLayout>
<LinearLayout
android:layout_weight="1"