rides-android-sdk
rides-android-sdk copied to clipboard
Is there any programmatically way to change colour for RideRequestButton?
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... :)