aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-02-23 10:03:55 -0800
committerScott Jackson <daneren2005@gmail.com>2013-02-23 10:03:55 -0800
commit956c3119a1fe2dcdbdbfab90e72c606d2fac3a4b (patch)
treebaa3bb46ed1dbcbe6ae87feb0b9b69d4dc9f73d3 /subsonic-android/src
parent2fbe35585a60b5a15e99c07e13ebfe0405306813 (diff)
downloaddsub-956c3119a1fe2dcdbdbfab90e72c606d2fac3a4b.tar.gz
dsub-956c3119a1fe2dcdbdbfab90e72c606d2fac3a4b.tar.bz2
dsub-956c3119a1fe2dcdbdbfab90e72c606d2fac3a4b.zip
Work around for dslv to take up entire width
Diffstat (limited to 'subsonic-android/src')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/view/UpdateView.java6
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) {