Auxio
Auxio copied to clipboard
Alternative SeekBar styles
Some users desire more eye candy or more information than that I am comfortable implementing in vanilla Auxio. Thus, this addition is about adding a new setting that controls the "style" of the SeekBar.
There would be the following styles that could be chosen:
- Normal: Like the current SeekBar
- Wavy: The odd Material You SeekBars that show a wave when playing. This is a lot like the rounded covers option, where it's for people who want the "true" Material You experience with all it's gaudy eye candy. This will be derived from the Android 13 builds.

- Tall: A taller SeekBar that shows the current audio info. For example,
48000khz 16-bit FLAC. This is most analogous to Music Player GO's old SeekBar. This is primarily intended to placate requests like #119 in a way that does not clutter the normal playback view.
Note that these styles would not apply to the compact view shown on the bottom the UI. No guarantees that this option will even be possible to implement.
Wow, this is surprisingly popular.
This feature is now held up by either the resolution of this material-components issue or me reverse-engineering the wavy style when the Android 13 source is released. The latter seems more likely since it took google nearly a year to standardize the new switch design, however it's still a bit aggravating since it forces me to vendor yet another library.
If you want me to implement this sooner, please boost the issue so that google developers pay more attention to it!
Apparently, Howl Music Player was able to implement the wavy SeekBar. I may or may not ~~steal~~ borrow their implementation and see if I can graft it onto the Slider view from material-components. I feel like I might try to bundle this feature with a future update that also adds smooth seeking (something I've been wanting to add).
Updated this issue to include Smooth Seeking too.
Smooth seeking should arrive in the app in the next version. It does have a very minor visual issue that I'm waiting on https://github.com/material-components/material-components-android/issues/2940 to resolve.
Next version should have a much more efficient implementation of smooth seeking based around a reactive model.
It would be nice to have the timestap while seeking showing over the album art.
That's already in the app @Donkey-Doug. When you seek the left duration is highlighted and shows where you are seeking to.
But it is shown next to the seekbar and not above album art in the middle of the screen.
Eh. I prefer it in it's current position.
I have come to the sudden realization that the "Wavy" SeekBar looks awfully like a certain kind of cell. Google seems to have also realized this, and has updated their wavy SeekBar to use a different thumb type. I'll likely do the same when I try to implement it.

I found the drawable implementation used by AOSP, SquigglyProgress.kt. If I vendor the slider component I could implement this soon.
!!!!!!
https://github.com/galaxygoldfish/waveslider
Seems to be compose-specific though...
Hi,
I'm doing a self-promotion here :) Please ignore/close it if you are not interested.
Would you like to use the wavy-slider in your app?
Demo.
Although it's for Jetpack Compose, there are ways to use Composables in Views and vice versa.
While I appreciate your promotion, I can't really use any Jetpack Compose components @mahozad, even through a View shim. Bringing in all of compose for a single view would probably cost several megabytes, a cost I'm not willing to take unless I made the entire app use Jetpack Compose (Something I'm also not willing to do since the effort required to rebuild some UI patterns would be extreme)
@OxygenCobalt please work on this
Hi @saltsoftdrink, I'm currently busy with other things and don't have the time to do the required patches to make this work. You can become a sponsor though and prioritize this issue so I get to it sooner.
Wave effects are officially available in MDC as of the newest alpha build. This is now unblocked.
Wait, only available in the progress indicators of all things. Sigh. Blocked still.
At least it works here. I dont want to do it now though since I would rather be consistent.