[Android] Dimens: remove info_appbar_height = 150dp

Duncan McNamara git at videolan.org
Wed May 18 09:50:19 UTC 2022


vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Thu Mar 31 17:44:11 2022 +0200| [394217bfa975b9678c78e0ddb05461e4aa60317f] | committer: Duncan McNamara

Dimens: remove info_appbar_height = 150dp

This is only used for CollapsingToolbarLayout in info and playlist
activity, and only in landscape mode. This causes covers in lanscape to
be almost entirely hidden.

> https://code.videolan.org/videolan/vlc-android/commit/394217bfa975b9678c78e0ddb05461e4aa60317f
---

 application/resources/src/main/res/values-h480dp/dimens.xml | 1 -
 application/resources/src/main/res/values/dimens.xml        | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/application/resources/src/main/res/values-h480dp/dimens.xml b/application/resources/src/main/res/values-h480dp/dimens.xml
index e6c1c595e..42104cb98 100644
--- a/application/resources/src/main/res/values-h480dp/dimens.xml
+++ b/application/resources/src/main/res/values-h480dp/dimens.xml
@@ -1,6 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
 <resources>
-    <dimen name="info_appbar_height">300dp</dimen>
     <dimen name="audio_player_cover_margin">16dp</dimen>
     <dimen name="subs_dl_dialog_height">350dp</dimen>
     <dimen name="tab_layout_height">32dp</dimen>
diff --git a/application/resources/src/main/res/values/dimens.xml b/application/resources/src/main/res/values/dimens.xml
index c630798c1..8efa65558 100644
--- a/application/resources/src/main/res/values/dimens.xml
+++ b/application/resources/src/main/res/values/dimens.xml
@@ -15,7 +15,7 @@
     <dimen name="grid_card_subtitle_text_size">10sp</dimen>
     <dimen name="grid_card_vertical_spacing">0dp</dimen>
     <dimen name="tab_layout_horizontal_padding">5dp</dimen>
-    <dimen name="info_appbar_height">150dp</dimen>
+    <dimen name="info_appbar_height">300dp</dimen>
     <dimen name="audioplayer_controls_margin">0dp</dimen>
 
     <!--Keylines-->



More information about the Android mailing list