rides-android-sdk icon indicating copy to clipboard operation
rides-android-sdk copied to clipboard

Is there any programmatically way to change colour for RideRequestButton?

Open kirby510 opened this issue 8 years ago • 0 comments

Hi, I wish to change the RideRequestButton background to white and black text and vice versa depends on the current application theme. But the only way I did is, created 2 RideRequestButton in xml, one with uber:ub__style="black" and uber:ub__style="white", and hide either one of them depends on the current application theme. Is that possible to create one function to do this in RideRequestButton? Thanks a lot... :)

kirby510 avatar May 10 '17 07:05 kirby510