Tweak 1x4 widget layout

This commit is contained in:
Christopher Eby committed 2010-07-25 01:06:05 -05:00
1 parent 2f8679bb54
commit 0cf4e0e097
2 files changed
+2 -1

No files matched your search

-1
View File
@@ -20,7 +20,6 @@
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal"
android:clickable="true"
android:layout_marginTop="5dip"
android:layout_marginBottom="5dip"
android:background="#B2191919">
@@ -106,6 +106,8 @@ public class FourLongWidget extends AppWidgetProvider {
views.setTextViewText(R.id.artist, res.getText(R.string.no_songs));
} else {
views.setViewVisibility(R.id.title, View.VISIBLE);
views.setViewVisibility(R.id.next, View.VISIBLE);
views.setViewVisibility(R.id.play_pause, View.VISIBLE);
views.setTextViewText(R.id.title, song.title);
views.setTextViewText(R.id.artist, song.artist);
cover = song.getCover();