From ede66c4eb8fb6f2dc08f17fb16fcff6f9c88c87d Mon Sep 17 00:00:00 2001 From: mcclure Date: Wed, 1 Nov 2023 04:21:43 -0400 Subject: [PATCH] Exoplayer: Increase space between rewind, pause, ffwd buttons (#4077) I [posted our new video player layout] on Mastodon for comments and multiple people said the buttons were too close together. I agree. I added some space (I eyeballed it, I made it bigger until it felt too big and then I narrowed it), I think we have now increased the space from 10dp to 25dp. I added the space by wrapping the buttons in LinearLayouts, because they are s and could theoretically insert more than one button. Concerns: If the "next"/"prev" buttons ever become active, the space will not be correctly applied to those. We can fix that if it ever comes up (we don't display those buttons). If people think the buttons should be placed even further apart we can do this by just increasing the number in styles.xml. This is what it looks like now. See previous look and comparison with 23.0 in #4071 --- app/src/main/res/layout/exo_player_control_view.xml | 3 ++- app/src/main/res/values/styles.xml | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/layout/exo_player_control_view.xml b/app/src/main/res/layout/exo_player_control_view.xml index ad3b528d5..b304d9006 100644 --- a/app/src/main/res/layout/exo_player_control_view.xml +++ b/app/src/main/res/layout/exo_player_control_view.xml @@ -47,8 +47,9 @@ + + style="@style/TuskyExoPlayerPlayPause"/> diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 3c6d9810a..5115cb15d 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -179,4 +179,10 @@ @drawable/materialdrawer_shape_small false + + +