summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/drawable/white_circle.xml11
-rw-r--r--res/layout/feedlist_item.xml68
-rw-r--r--res/values/colors.xml4
-rw-r--r--res/values/dimens.xml1
4 files changed, 59 insertions, 25 deletions
diff --git a/res/drawable/white_circle.xml b/res/drawable/white_circle.xml
new file mode 100644
index 000000000..597b70a2d
--- /dev/null
+++ b/res/drawable/white_circle.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="oval" >
+
+ <solid android:color="@color/white" />
+
+ <size
+ android:height="4dp"
+ android:width="4dp" />
+
+</shape> \ No newline at end of file
diff --git a/res/layout/feedlist_item.xml b/res/layout/feedlist_item.xml
index dab9a80ec..90a9e3bf0 100644
--- a/res/layout/feedlist_item.xml
+++ b/res/layout/feedlist_item.xml
@@ -23,47 +23,69 @@
android:layout_centerVertical="true"
android:orientation="vertical" >
- <LinearLayout
+ <RelativeLayout
android:id="@+id/lNewStatusLabel"
- android:layout_width="wrap_content"
+ android:layout_width="@dimen/status_indicator_width"
android:layout_height="0dip"
- android:layout_weight="1" >
+ android:layout_marginBottom="8dp"
+ android:layout_marginTop="4dp"
+ android:layout_weight="1"
+ android:background="@color/status_unread" >
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:layout_marginRight="4dp"
+ android:src="@drawable/white_circle" />
<TextView
android:id="@+id/txtvNewEps"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
- android:layout_marginRight="4dip"
- android:textSize="@dimen/text_size_medium"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="4dp"
+ android:layout_marginRight="8dp"
+ android:maxLines="1"
+ android:minEms="2"
+ android:textColor="@color/white"
+ android:textSize="@dimen/text_size_micro"
android:textStyle="bold" />
+ </RelativeLayout>
- <View
- android:layout_width="5dip"
- android:layout_height="match_parent"
- android:background="@color/status_unread"
- android:visibility="visible" />
- </LinearLayout>
-
- <LinearLayout
+ <RelativeLayout
android:id="@+id/lProgressStatusLabel"
- android:layout_width="wrap_content"
+ android:layout_width="@dimen/status_indicator_width"
android:layout_height="0dip"
- android:layout_weight="1" >
+ android:layout_marginBottom="8dp"
+ android:layout_weight="1"
+ android:background="@color/ics_gray" >
<TextView
android:id="@+id/txtvProgressEps"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
- android:layout_marginRight="4dip"
- android:textSize="@dimen/text_size_medium"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:background="@color/status_progress"
+ android:maxLines="1"
+ android:minEms="2"
+ android:paddingLeft="4dp"
+ android:textColor="@color/white"
+ android:textSize="@dimen/text_size_micro"
android:textStyle="bold" />
- <View
- android:layout_width="5dip"
- android:layout_height="match_parent"
- android:background="@color/status_progress"
- android:visibility="visible" />
- </LinearLayout>
+ <ImageView
+ android:layout_width="10dp"
+ android:layout_height="8dp"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:layout_marginRight="2dp"
+ android:layout_marginLeft="2dp"
+ android:src="@drawable/av_play_dark" />
+ </RelativeLayout>
</LinearLayout>
<LinearLayout
diff --git a/res/values/colors.xml b/res/values/colors.xml
index a4ce3c2ed..98aebe3b3 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -23,8 +23,8 @@
<color name="actionbar_gray">#DDDDDD</color>
<color name="download_success_green">#669900</color>
<color name="download_failed_red">#CC0000</color>
- <color name="status_unread">#99CC00</color>
- <color name="status_progress">#FFBB33</color>
+ <color name="status_unread">#E099CC00</color>
+ <color name="status_progress">#E033B5E5</color>
<color name="status_playing">#EE5F52</color>
<color name="overlay_dark">#262C31</color>
<color name="overlay_light">#DDDDDD</color>
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index b4cd7243f..7cb9ebe3f 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -9,5 +9,6 @@
<dimen name="text_size_small">14sp</dimen>
<dimen name="text_size_medium">18sp</dimen>
<dimen name="text_size_large">22sp</dimen>
+ <dimen name="status_indicator_width">36dp</dimen>
</resources> \ No newline at end of file