uber / uber/rides-android-sdk

Unable apply white theme on Uber RideRequestButton programmatically

Open
#76 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
293
Forks
132
PR merge metrics
No merged PRs in 30d

Description

Tried RideRequestButton rideRequestButton = new RideRequestButton(getActivity(), null, com.uber.sdk.android.rides.R.style.UberButton_White); but not working. If I use xml button widget seems not working (it redirects to play store). Any helpful information would be much appreciated.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the RideRequestButton constructor usage shown in the issue and compare it with the XML widget configuration. Reproduce both the programmatic white-theme case and the Play Store redirect, then verify that the button applies the requested theme and launches the intended ride flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.