mirror of
https://github.com/cmclark00/RetroMusicPlayer.git
synced 2025-05-21 01:25:19 +01:00
Merge pull request #1693 from gokadzev/md3
Use the latest MDC and improve "MD3" now playing theme UI
This commit is contained in:
commit
fd52f39c4b
5 changed files with 15 additions and 23 deletions
|
@ -28,8 +28,8 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:maxHeight="2dp"
|
||||
style="@style/Widget.Retro.Slider"
|
||||
android:background="@android:color/transparent"
|
||||
style="@style/Widget.Retro.MD3.Custom.Slider"
|
||||
app:layout_constraintEnd_toStartOf="@id/songTotalTime"
|
||||
app:layout_constraintStart_toEndOf="@id/songCurrentProgress"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
|
|
@ -256,9 +256,20 @@
|
|||
<item name="cornerSize">50%</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Retro.Slider" parent="Widget.Material3.Slider">
|
||||
<style name="Widget.Retro.Slider" parent="Widget.Material3.Slider.Legacy">
|
||||
<item name="labelBehavior">gone</item>
|
||||
<item name="thumbRadius">6dp</item>
|
||||
<item name="haloRadius">18dp</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.Retro.MD3.Custom.Slider" parent="Widget.Material3.Slider">
|
||||
<item name="labelBehavior">gone</item>
|
||||
<item name="thumbHeight">26dp</item>
|
||||
<item name="thumbWidth">4dp</item>
|
||||
<item name="thumbTrackGapSize">4dp</item>
|
||||
<item name="trackHeight">14dp</item>
|
||||
<item name="thumbElevation">0dp</item>
|
||||
<item name="background">@android:color/transparent</item>
|
||||
<item name="haloRadius">0dp</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue