ui: remove medium button style
Remove the temporary 28dp hack that was applied to the playback bar. This finally puts the playback bar in line with all other icon components. The playback panel is still weird, but that's okay since it's a full screen view and the buttons can take up more space. Since I absolutely hate change, I had to effectively frog-boil myself in order to do this, first downsizing the icon from 32dp to 28dp, and then from 28dp down to 24dp. I can't believe I care about this so much.
This commit is contained in:
parent
d4fb27fafb
commit
3d19794d63
3 changed files with 6 additions and 14 deletions
|
@ -13,7 +13,7 @@
|
|||
app:layout_constraintBottom_toTopOf="@+id/playback_progress_bar"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:src="@drawable/ic_album" />
|
||||
tools:staticIcon="@drawable/ic_album" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/playback_song"
|
||||
|
@ -47,7 +47,7 @@
|
|||
|
||||
<Button
|
||||
android:id="@+id/playback_play_pause"
|
||||
style="@style/Widget.Auxio.Button.Icon.Medium"
|
||||
style="@style/Widget.Auxio.Button.Icon.Small"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:contentDescription="@string/desc_play_pause"
|
||||
|
@ -58,7 +58,7 @@
|
|||
|
||||
<Button
|
||||
android:id="@+id/playback_skip_next"
|
||||
style="@style/Widget.Auxio.Button.Icon.Medium"
|
||||
style="@style/Widget.Auxio.Button.Icon.Small"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/spacing_tiny"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
app:layout_constraintBottom_toTopOf="@+id/playback_progress_bar"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:src="@drawable/ic_album" />
|
||||
tools:staticIcon="@drawable/ic_album" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/playback_song"
|
||||
|
@ -45,7 +45,7 @@
|
|||
|
||||
<Button
|
||||
android:id="@+id/playback_play_pause"
|
||||
style="@style/Widget.Auxio.Button.Icon.Medium"
|
||||
style="@style/Widget.Auxio.Button.Icon.Small"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:contentDescription="@string/desc_play_pause"
|
||||
|
@ -56,7 +56,7 @@
|
|||
|
||||
<Button
|
||||
android:id="@+id/playback_skip_next"
|
||||
style="@style/Widget.Auxio.Button.Icon.Medium"
|
||||
style="@style/Widget.Auxio.Button.Icon.Small"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/spacing_tiny"
|
||||
|
|
|
@ -76,14 +76,6 @@
|
|||
<item name="android:paddingBottom">@dimen/spacing_small</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Auxio.Button.Icon.Medium" parent="Widget.Auxio.Button.Icon.Small">
|
||||
<item name="iconSize">@dimen/size_icon_medium</item>
|
||||
<item name="android:paddingStart">@dimen/spacing_medium_icon</item>
|
||||
<item name="android:paddingEnd">@dimen/spacing_medium_icon</item>
|
||||
<item name="android:paddingTop">@dimen/spacing_medium_icon</item>
|
||||
<item name="android:paddingBottom">@dimen/spacing_medium_icon</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Auxio.Button.Icon.Large" parent="Widget.Auxio.Button.Icon.Base">
|
||||
<item name="iconSize">@dimen/size_icon_large</item>
|
||||
<item name="android:insetTop">0dp</item>
|
||||
|
|
Loading…
Reference in a new issue