Hello guys, I have a slide button like amazon app and I'm trying to transform the text inside to white when the trail layout is over it and turn it black when I swipe out back. Do you know guys if this is possible? I tried using another text overlapped in the middle but its moving with the trail and not keeping in the middle of the button.
12/16/2020, 4:39 PM
I recently had to do something similar. I didn't have a lot of time to do it so chose the easiest/simplest path. I created it as a seek bar and then created the desired color schemes in in the progress drawable. The one caveat is I had to create the text as an svg. My app is currently English only so this was an "acceptable" solution.
Realized I mistyped one thing. I meant seek bar (not progress bar). I edited that in the above post.