Skip to content

Commit

Permalink
Improve title readability against light background
Browse files Browse the repository at this point in the history
Especially for wide cover images (CDs etc.), the title in white font is barely or not at all
discernible if the cover image is predominantly white or heavily patterned. A black font shadow
greatly improves readability in such cases.
  • Loading branch information
StefRe committed Nov 1, 2020
1 parent a1bc27b commit be7bfaf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion opacclient/opacapp/src/main/res/values/styles_opacapp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@

<style name="TextAppearance.Opacapp.ExpandedMediaTitle" parent="TextAppearance.AppCompat.Widget.ActionBar.Title">
<item name="android:textSize">26sp</item>
<item name="android:shadowRadius">15</item>
<item name="android:shadowColor">@android:color/black</item>
</style>

<style name="ThemeOverlay.Opacapp.ActionBar"
Expand Down Expand Up @@ -116,4 +118,4 @@
<item name="android:layout_marginTop">8dp</item>
</style>

</resources>
</resources>

0 comments on commit be7bfaf

Please sign in to comment.