mirror of
https://github.com/cmclark00/RetroMusicPlayer.git
synced 2025-05-18 16:15:20 +01:00
Improve slider design more
This commit is contained in:
parent
8036fe1dc5
commit
381d1ed402
2 changed files with 13 additions and 2 deletions
|
@ -28,8 +28,8 @@
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="8dp"
|
||||||
android:maxHeight="2dp"
|
android:background="@android:color/transparent"
|
||||||
style="@style/Widget.Material3.Slider"
|
style="@style/Widget.Retro.MD3.Custom.Slider"
|
||||||
app:layout_constraintEnd_toStartOf="@id/songTotalTime"
|
app:layout_constraintEnd_toStartOf="@id/songTotalTime"
|
||||||
app:layout_constraintStart_toEndOf="@id/songCurrentProgress"
|
app:layout_constraintStart_toEndOf="@id/songCurrentProgress"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
|
|
@ -261,4 +261,15 @@
|
||||||
<item name="thumbRadius">6dp</item>
|
<item name="thumbRadius">6dp</item>
|
||||||
<item name="haloRadius">18dp</item>
|
<item name="haloRadius">18dp</item>
|
||||||
</style>
|
</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>
|
</resources>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue