[Android] TV: Set overscan padding to directories selector
Geoffrey Métais
git at videolan.org
Mon May 30 18:09:47 CEST 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon May 30 18:08:47 2016 +0200| [2f2c5479910475a1537f6713517e129c0630f566] | committer: Geoffrey Métais
TV: Set overscan padding to directories selector
> https://code.videolan.org/videolan/vlc-android/commit/2f2c5479910475a1537f6713517e129c0630f566
---
vlc-android/src/org/videolan/vlc/gui/SecondaryActivity.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/vlc-android/src/org/videolan/vlc/gui/SecondaryActivity.java b/vlc-android/src/org/videolan/vlc/gui/SecondaryActivity.java
index befd8ec..5e7beec 100644
--- a/vlc-android/src/org/videolan/vlc/gui/SecondaryActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/SecondaryActivity.java
@@ -36,6 +36,7 @@ import org.videolan.vlc.gui.audio.AudioAlbumsSongsFragment;
import org.videolan.vlc.gui.audio.EqualizerFragment;
import org.videolan.vlc.gui.browser.StorageBrowserFragment;
import org.videolan.vlc.gui.preferences.PreferencesActivity;
+import org.videolan.vlc.gui.tv.TvUtil;
import org.videolan.vlc.gui.video.MediaInfoFragment;
import org.videolan.vlc.gui.video.VideoGridFragment;
import org.videolan.vlc.gui.video.VideoListAdapter;
@@ -82,6 +83,9 @@ public class SecondaryActivity extends AudioPlayerContainerActivity {
.add(R.id.fragment_placeholder, mFragment)
.commit();
}
+
+ if (VLCApplication.showTvUi())
+ TvUtil.applyOverscanMargin(this);
}
@Override
More information about the Android
mailing list