summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2013-03-07 16:07:10 +0100
committerdaniel oeh <daniel.oeh@gmail.com>2013-03-07 16:07:10 +0100
commitba0f294850ea0b1a4ec6417c7185019db97f7bcd (patch)
tree92f6f2c3636c7c90c241d05e1cd3c94e8c3cb360
parent58747d227a123f6a1ef3641e2941115bb52aace1 (diff)
downloadAntennaPod-ba0f294850ea0b1a4ec6417c7185019db97f7bcd.zip
Removed 'status unread' indicator from queue
-rw-r--r--res/layout/external_itemlist_item.xml16
-rw-r--r--src/de/danoeh/antennapod/adapter/ExternalEpisodesListAdapter.java8
2 files changed, 0 insertions, 24 deletions
diff --git a/res/layout/external_itemlist_item.xml b/res/layout/external_itemlist_item.xml
index fe1c29a19..c8a039925 100644
--- a/res/layout/external_itemlist_item.xml
+++ b/res/layout/external_itemlist_item.xml
@@ -81,22 +81,6 @@
android:layout_marginTop="4dp"
android:layout_toLeftOf="@id/butAction" />
- <TextView
- android:id="@+id/statusUnread"
- android:layout_width="wrap_content"
- android:layout_height="18dp"
- android:layout_alignParentRight="true"
- android:layout_alignParentTop="true"
- android:layout_margin="8dp"
- android:background="@color/status_unread"
- android:gravity="center"
- android:minWidth="@dimen/status_indicator_width"
- android:text="@string/new_label"
- android:textAlignment="center"
- android:textColor="@color/white"
- android:textSize="@dimen/text_size_micro"
- android:textStyle="bold" />
-
<ImageView
android:id="@+id/statusPlaying"
android:layout_width="@dimen/status_indicator_width"
diff --git a/src/de/danoeh/antennapod/adapter/ExternalEpisodesListAdapter.java b/src/de/danoeh/antennapod/adapter/ExternalEpisodesListAdapter.java
index db716c66e..64eec8a38 100644
--- a/src/de/danoeh/antennapod/adapter/ExternalEpisodesListAdapter.java
+++ b/src/de/danoeh/antennapod/adapter/ExternalEpisodesListAdapter.java
@@ -89,8 +89,6 @@ public class ExternalEpisodesListAdapter extends BaseExpandableListAdapter {
.findViewById(R.id.butAction);
holder.statusPlaying = (View) convertView
.findViewById(R.id.statusPlaying);
- holder.statusUnread = (View) convertView
- .findViewById(R.id.statusUnread);
holder.statusInProgress = (TextView) convertView
.findViewById(R.id.statusInProgress);
convertView.setTag(holder);
@@ -106,30 +104,25 @@ public class ExternalEpisodesListAdapter extends BaseExpandableListAdapter {
switch (state) {
case PLAYING:
holder.statusPlaying.setVisibility(View.VISIBLE);
- holder.statusUnread.setVisibility(View.GONE);
holder.statusInProgress.setVisibility(View.GONE);
break;
case IN_PROGRESS:
holder.statusPlaying.setVisibility(View.GONE);
- holder.statusUnread.setVisibility(View.GONE);
holder.statusInProgress.setVisibility(View.VISIBLE);
holder.statusInProgress.setText(Converter
.getDurationStringLong(item.getMedia().getPosition()));
break;
case NEW:
holder.statusPlaying.setVisibility(View.GONE);
- holder.statusUnread.setVisibility(View.VISIBLE);
holder.statusInProgress.setVisibility(View.GONE);
break;
default:
holder.statusPlaying.setVisibility(View.GONE);
- holder.statusUnread.setVisibility(View.GONE);
holder.statusInProgress.setVisibility(View.GONE);
break;
}
} else {
holder.statusPlaying.setVisibility(View.GONE);
- holder.statusUnread.setVisibility(View.GONE);
holder.statusInProgress.setVisibility(View.GONE);
}
@@ -188,7 +181,6 @@ public class ExternalEpisodesListAdapter extends BaseExpandableListAdapter {
ImageView downloadStatus;
ImageView feedImage;
ImageButton butAction;
- View statusUnread;
View statusPlaying;
TextView statusInProgress;
}