From 1486d1bf9f42a9bbefe15d66eb7b4095d939c4cb Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Tue, 8 Jul 2014 19:15:54 -0700 Subject: #321 For video files just display on single line --- src/github/daneren2005/dsub/view/SongView.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/github/daneren2005') diff --git a/src/github/daneren2005/dsub/view/SongView.java b/src/github/daneren2005/dsub/view/SongView.java index 645a66c8..3e423877 100644 --- a/src/github/daneren2005/dsub/view/SongView.java +++ b/src/github/daneren2005/dsub/view/SongView.java @@ -118,6 +118,11 @@ public class SongView extends UpdateView implements Checkable { artist.append(")"); } } + + durationTextView.setText(Util.formatDuration(song.getDuration())); + } else { + findViewById(R.id.song_bottom).setVisibility(View.GONE); + statusTextView.setText(Util.formatDuration(song.getDuration())); } String title = song.getTitle(); @@ -128,7 +133,6 @@ public class SongView extends UpdateView implements Checkable { titleTextView.setText(title); artistTextView.setText(artist); - durationTextView.setText(Util.formatDuration(song.getDuration())); checkedTextView.setVisibility(checkable && !song.isVideo() ? View.VISIBLE : View.GONE); revision = -1; -- cgit v1.2.3