[Android] Remove fitsSystemWindows & toolbar elevation
Geoffrey Métais
git at videolan.org
Tue Jan 22 11:54:47 CET 2019
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jan 22 11:02:38 2019 +0100| [774509f4815f2fb5acae179eb68674c937e0c088] | committer: Geoffrey Métais
Remove fitsSystemWindows & toolbar elevation
> https://code.videolan.org/videolan/vlc-android/commit/774509f4815f2fb5acae179eb68674c937e0c088
---
vlc-android/res/layout/main.xml | 3 +--
vlc-android/res/layout/toolbar.xml | 3 +--
vlc-android/res/values-v21/styles.xml | 2 --
3 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/vlc-android/res/layout/main.xml b/vlc-android/res/layout/main.xml
index e79fa7cf3..d53aba122 100644
--- a/vlc-android/res/layout/main.xml
+++ b/vlc-android/res/layout/main.xml
@@ -10,8 +10,7 @@
android:nextFocusRight="@+id/ml_menu_search"
android:nextFocusUp="@+id/ml_menu_search"
android:nextFocusDown="@+id/ml_menu_search"
- android:nextFocusForward="@+id/ml_menu_search"
- android:fitsSystemWindows="true" >
+ android:nextFocusForward="@+id/ml_menu_search" >
<androidx.coordinatorlayout.widget.CoordinatorLayout
android:id="@+id/coordinator"
android:layout_width="match_parent"
diff --git a/vlc-android/res/layout/toolbar.xml b/vlc-android/res/layout/toolbar.xml
index f4f87cc48..f221eee25 100644
--- a/vlc-android/res/layout/toolbar.xml
+++ b/vlc-android/res/layout/toolbar.xml
@@ -7,8 +7,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/background_actionbar"
- app:theme="@style/Toolbar.VLC"
- android:fitsSystemWindows="true">
+ app:theme="@style/Toolbar.VLC" >
<androidx.appcompat.widget.Toolbar
android:id="@+id/main_toolbar"
android:layout_width="match_parent"
diff --git a/vlc-android/res/values-v21/styles.xml b/vlc-android/res/values-v21/styles.xml
index 2e060038b..2d6457724 100644
--- a/vlc-android/res/values-v21/styles.xml
+++ b/vlc-android/res/values-v21/styles.xml
@@ -19,8 +19,6 @@
</style>
<style name="Toolbar.VLC" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
<item name="android:textCursorDrawable">@drawable/cursor_w</item>
- <item name="elevation">0dp</item>
- <item name="android:elevation">0dp</item>
</style>
<style name="PopupMenuStyle.Light" parent="@style/Widget.AppCompat.Light.PopupMenu">
<item name="android:overlapAnchor">true</item>
More information about the Android
mailing list