summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2014-06-08 13:57:32 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2014-06-08 13:57:32 +0200
commitd9a610fb61028845349d98c4e1574778a7cfc05e (patch)
tree0103ceec7eef54c940ad80d12f90c5c975dda602 /res/layout
parentc3e0ac9e74ef012c08eef0348604c2fdefca8074 (diff)
downloadAntennaPod-d9a610fb61028845349d98c4e1574778a7cfc05e.zip
Show queue size and number of unread items in navdrawer. closes #453
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/nav_listitem.xml20
1 files changed, 17 insertions, 3 deletions
diff --git a/res/layout/nav_listitem.xml b/res/layout/nav_listitem.xml
index 585ee7528..3691026a1 100644
--- a/res/layout/nav_listitem.xml
+++ b/res/layout/nav_listitem.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
<ImageView
android:id="@+id/imgvCover"
@@ -35,4 +35,18 @@
android:layout_marginRight="48dp"
android:layout_toRightOf="@id/imgvCover"
/>
+
+ <TextView
+ android:id="@+id/txtvCount"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:lines="1"
+ android:textColor="?android:attr/textColorTertiary"
+ android:textSize="@dimen/text_size_navdrawer"
+ android:layout_marginLeft="12dp"
+ android:layout_marginTop="14dp"
+ android:layout_marginBottom="14dp"
+ android:layout_marginRight="16dp"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"/>
</RelativeLayout> \ No newline at end of file