aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android
diff options
context:
space:
mode:
Diffstat (limited to 'subsonic-android')
-rw-r--r--subsonic-android/res/layout/song_list_item.xml2
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/view/SongView.java6
2 files changed, 3 insertions, 5 deletions
diff --git a/subsonic-android/res/layout/song_list_item.xml b/subsonic-android/res/layout/song_list_item.xml
index 0ff738d2..e1badafb 100644
--- a/subsonic-android/res/layout/song_list_item.xml
+++ b/subsonic-android/res/layout/song_list_item.xml
@@ -79,7 +79,7 @@
android:textAppearance="?android:attr/textAppearanceSmall"
android:singleLine="true"
android:paddingLeft="3dip"
- android:paddingRight="9dip"/>
+ android:paddingRight="4dip"/>
</LinearLayout>
</LinearLayout>
diff --git a/subsonic-android/src/github/daneren2005/dsub/view/SongView.java b/subsonic-android/src/github/daneren2005/dsub/view/SongView.java
index b5141371..64a1d911 100644
--- a/subsonic-android/src/github/daneren2005/dsub/view/SongView.java
+++ b/subsonic-android/src/github/daneren2005/dsub/view/SongView.java
@@ -139,12 +139,10 @@ public class SongView extends UpdateView implements Checkable {
starButton.setVisibility(!song.isStarred() ? View.GONE : View.VISIBLE);
File partialFile = downloadFile.getPartialFile();
- int leftImage = 0;
int rightImage = 0;
if (downloadFile.isWorkDone()) {
- leftImage = downloadFile.isSaved() ? R.drawable.saved : R.drawable.downloaded;
- moreButton.setImageResource(R.drawable.list_item_more_shaded);
+ moreButton.setImageResource(downloadFile.isSaved() ? R.drawable.list_item_more_saved : R.drawable.list_item_more_shaded);
} else {
moreButton.setImageResource(R.drawable.list_item_more);
}
@@ -155,7 +153,7 @@ public class SongView extends UpdateView implements Checkable {
} else {
statusTextView.setText(null);
}
- statusTextView.setCompoundDrawablesWithIntrinsicBounds(leftImage, 0, rightImage, 0);
+ statusTextView.setCompoundDrawablesWithIntrinsicBounds(0, 0, rightImage, 0);
boolean playing = downloadService.getCurrentPlaying() == downloadFile;
if (playing) {