From 956c3119a1fe2dcdbdbfab90e72c606d2fac3a4b Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Sat, 23 Feb 2013 10:03:55 -0800 Subject: Work around for dslv to take up entire width --- subsonic-android/src/github/daneren2005/dsub/view/UpdateView.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/subsonic-android/src/github/daneren2005/dsub/view/UpdateView.java b/subsonic-android/src/github/daneren2005/dsub/view/UpdateView.java index fee37ff0..9cc627cc 100644 --- a/subsonic-android/src/github/daneren2005/dsub/view/UpdateView.java +++ b/subsonic-android/src/github/daneren2005/dsub/view/UpdateView.java @@ -21,6 +21,8 @@ package github.daneren2005.dsub.view; import android.content.Context; import android.os.Handler; import android.util.Log; +import android.view.ViewGroup; +import android.widget.AbsListView; import android.widget.LinearLayout; import java.util.WeakHashMap; @@ -32,6 +34,10 @@ public class UpdateView extends LinearLayout { public UpdateView(Context context) { super(context); + setLayoutParams(new LinearLayout.LayoutParams( + LinearLayout.LayoutParams.FILL_PARENT, + LinearLayout.LayoutParams.WRAP_CONTENT)); + INSTANCES.put(this, null); int instanceCount = INSTANCES.size(); if (instanceCount > 50) { -- cgit v1.2.3