diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-05-18 10:55:59 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-05-18 10:55:59 -0700 |
commit | 9c3a80e3c56f39d96582ec27ca0710e6b7ee198e (patch) | |
tree | e756864a45a24c37f73511f70b02a0ce9c507202 /src | |
parent | e4aed348657f717df1968904285f5e93772c5000 (diff) | |
download | dsub-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.java | 7 |
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;
}
|