summaryrefslogtreecommitdiff
path: root/res/layout/feeds_row.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-11-28 14:25:55 +0300
committerAndrew Dolgov <[email protected]>2011-11-28 14:25:55 +0300
commit1cd840077e0cbf3491f5c8c4a15ff5ae11a71797 (patch)
treec33c1fe9942761e247dc2d91414da7f4db513442 /res/layout/feeds_row.xml
parente6bbb7ae3a4cc52ca0644d97138ea06de620c1c8 (diff)
add generic feed icons to feedlist
Diffstat (limited to 'res/layout/feeds_row.xml')
-rw-r--r--res/layout/feeds_row.xml13
1 files changed, 11 insertions, 2 deletions
diff --git a/res/layout/feeds_row.xml b/res/layout/feeds_row.xml
index 8ef8bbac..88704a1f 100644
--- a/res/layout/feeds_row.xml
+++ b/res/layout/feeds_row.xml
@@ -4,13 +4,21 @@
android:orientation="horizontal"
android:gravity="center_vertical"
android:id="@+id/feeds_row" android:layout_width="match_parent" android:paddingBottom="4dip" android:paddingLeft="8dip" android:paddingRight="8dip" android:paddingTop="4dip">
+
+ <ImageView
+ android:id="@+id/icon"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="0"
+ android:src="@drawable/ic_rss_bw" />
+
<TextView
android:id="@+id/title"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_gravity="center_vertical"
android:paddingLeft="6dip"
- android:text="{FEED}" android:layout_width="wrap_content" android:textSize="18dip"/>
+ android:text="{FEED}" android:layout_width="0dp" android:textSize="18dip"/>
<TextView
android:id="@+id/unread_counter"
android:gravity="right"
@@ -19,7 +27,8 @@
android:textColor="?unreadCounterColor"
android:layout_gravity="center_vertical"
android:layout_width="wrap_content"
+ android:layout_weight="0"
android:layout_height="wrap_content"
- android:text="{123}" android:textSize="13dip"/>
+ android:text="{123}" android:textSize="13sp"/>
</LinearLayout> \ No newline at end of file