aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-05-18 10:55:59 -0700
committerScott Jackson <daneren2005@gmail.com>2014-05-18 10:55:59 -0700
commit9c3a80e3c56f39d96582ec27ca0710e6b7ee198e (patch)
treee756864a45a24c37f73511f70b02a0ce9c507202 /src
parente4aed348657f717df1968904285f5e93772c5000 (diff)
downloaddsub-9c3a80e3c56f39d96582ec27ca0710e6b7ee198e.tar.gz
dsub-9c3a80e3c56f39d96582ec27ca0710e6b7ee198e.tar.bz2
dsub-9c3a80e3c56f39d96582ec27ca0710e6b7ee198e.zip
#340 Fix Nexus 4 overlap by getting rid of bottom padding
Diffstat (limited to 'src')
-rw-r--r--src/github/daneren2005/dsub/fragments/NowPlayingFragment.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java b/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java
index 9a2557b1..a2086133 100644
--- a/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java
+++ b/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java
@@ -25,10 +25,12 @@ import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Color;
+import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.support.v4.view.MenuItemCompat;
import android.support.v7.app.MediaRouteButton;
+import android.util.Log;
import android.view.ContextMenu;
import android.view.Display;
import android.view.GestureDetector;
@@ -490,6 +492,11 @@ public class NowPlayingFragment extends SubsonicFragment implements OnGestureLis
visualizerViewLayout.addView(visualizerView, new LinearLayout.LayoutParams(LinearLayout.LayoutParams.FILL_PARENT, LinearLayout.LayoutParams.FILL_PARENT));
}
+ if(Build.MODEL.equals("Nexus 4")) {
+ View slider = rootView.findViewById(R.id.download_slider);
+ slider.setPadding(0, 0, 0, 0);
+ }
+
return rootView;
}