[Android] Improve the Info activity collapsed title style
Nicolas Pomepuy
git at videolan.org
Tue Apr 6 06:15:36 UTC 2021
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Apr 1 09:17:48 2021 +0200| [8c2b2b553140c3fb66cb43912ad18035114a3c30] | committer: Nicolas Pomepuy
Improve the Info activity collapsed title style
> https://code.videolan.org/videolan/vlc-android/commit/8c2b2b553140c3fb66cb43912ad18035114a3c30
---
application/vlc-android/res/layout/info_activity.xml | 1 +
application/vlc-android/res/values/styles.xml | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/application/vlc-android/res/layout/info_activity.xml b/application/vlc-android/res/layout/info_activity.xml
index 61cd1e937..7dd69182f 100644
--- a/application/vlc-android/res/layout/info_activity.xml
+++ b/application/vlc-android/res/layout/info_activity.xml
@@ -76,6 +76,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
+ vlc:expandedTitleTextAppearance="@style/TextAppearance.Design.CollapsingToolbar.Expanded.Shadow"
vlc:title="@{item.title}"
vlc:theme="@style/Toolbar.VLC"
vlc:contentScrim="?attr/background_actionbar"
diff --git a/application/vlc-android/res/values/styles.xml b/application/vlc-android/res/values/styles.xml
index bf3a6e20f..2ca3f9bf7 100644
--- a/application/vlc-android/res/values/styles.xml
+++ b/application/vlc-android/res/values/styles.xml
@@ -492,7 +492,7 @@
<item name="colorControlNormal">@color/grey700</item>
</style>
- <style name="TextAppearance.Design.CollapsingToolbar.Expanded.Shadow">
+ <style name="TextAppearance.Design.CollapsingToolbar.Expanded.Shadow" parent="TextAppearance.MaterialComponents.Headline5">
<item name="android:shadowDy">0</item>
<item name="android:shadowDx">0</item>
<item name="android:shadowRadius">4</item>
More information about the Android
mailing list