[Android] Revert "Remove padding hack, fixed by AppCOmpat 23.2"
Geoffrey Métais
git at videolan.org
Fri Feb 26 10:46:19 CET 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Feb 26 10:29:22 2016 +0100| [a2b0bffe3fedb2e344afe76de95664b0a33cbe5c] | committer: Geoffrey Métais
Revert "Remove padding hack, fixed by AppCOmpat 23.2"
This reverts commit a5a60798ed795a6c4d9d68113980e711736203e1.
> https://code.videolan.org/videolan/vlc-android/commit/a2b0bffe3fedb2e344afe76de95664b0a33cbe5c
---
vlc-android/src/org/videolan/vlc/gui/MainActivity.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index f2086c0..56839c0 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -237,6 +237,10 @@ public class MainActivity extends AudioPlayerContainerActivity implements Search
}
mNavigationView.getMenu().findItem(R.id.nav_history).setVisible(mSettings.getBoolean(PreferencesFragment.PLAYBACK_HISTORY, true));
+
+
+ if (AndroidUtil.isLolliPopOrLater())
+ mNavigationView.setPadding(0, mNavigationView.getPaddingTop()/2, 0, 0);
}
@Override
More information about the Android
mailing list