diff options
Diffstat (limited to 'subsonic-android/src')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/view/UpdateView.java | 6 |
1 files changed, 6 insertions, 0 deletions
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) {
|