[Android] Restore toolbar size

Geoffrey Métais git at videolan.org
Thu Jan 24 13:36:07 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jan 24 13:30:59 2019 +0100| [09900dcacbc0c79f691a46a2d2d0c6d126005279] | committer: Geoffrey Métais

Restore toolbar size

Fix #733

> https://code.videolan.org/videolan/vlc-android/commit/09900dcacbc0c79f691a46a2d2d0c6d126005279
---

 vlc-android/res/layout/info_activity.xml     | 2 +-
 vlc-android/res/layout/playlist_activity.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/res/layout/info_activity.xml b/vlc-android/res/layout/info_activity.xml
index 798b7213b..63a2a28c7 100644
--- a/vlc-android/res/layout/info_activity.xml
+++ b/vlc-android/res/layout/info_activity.xml
@@ -64,7 +64,7 @@
                 <androidx.appcompat.widget.Toolbar
                     android:id="@+id/main_toolbar"
                     android:layout_width="match_parent"
-                    android:layout_height="@dimen/toolbar_height"
+                    android:layout_height="?attr/actionBarSize"
                     vlc:navigationContentDescription="@string/abc_action_bar_up_description"
                     vlc:popupTheme="?attr/toolbar_popup_style"
                     vlc:theme="@style/Toolbar.VLC"
diff --git a/vlc-android/res/layout/playlist_activity.xml b/vlc-android/res/layout/playlist_activity.xml
index 8e347f4df..2ab39b4a2 100644
--- a/vlc-android/res/layout/playlist_activity.xml
+++ b/vlc-android/res/layout/playlist_activity.xml
@@ -42,7 +42,7 @@
                 <androidx.appcompat.widget.Toolbar
                     android:id="@+id/main_toolbar"
                     android:layout_width="match_parent"
-                    android:layout_height="@dimen/toolbar_height"
+                    android:layout_height="?attr/actionBarSize"
                     vlc:navigationContentDescription="@string/abc_action_bar_up_description"
                     vlc:popupTheme="?attr/toolbar_popup_style"
                     vlc:theme="@style/Toolbar.VLC"



More information about the Android mailing list