-
Notifications
You must be signed in to change notification settings - Fork 24.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use AppCompat widgets #19768
use AppCompat widgets #19768
Conversation
@hramos Please merge, I'm preparing a pull request that will add thumb image to Slider component (feature parity with iOS) |
@mdvacca Please merge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hramos has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@hramos any news? Please cherry pick it to stable |
@dulmandakh it's still waiting on a review from @mdvacca. |
The code looks good to me, @dulmandakh can you describe what are the visual changes that you mentioned in the description? |
@mdvacca I see no visual difference, but AppCompatSeekBar, AppCompatSpinner, AppCompatEditText, AppCompatTextView are introduced in support library 25.1.0 and used by default in layouts for compatibility. excerpt from AppCompatSeekBar doc
excerpt from AppCompatSpinner doc
excerpt from AppCompatEditText doc
excerpt from AppCompatTextView doc
|
@mdvacca please approve 😄 |
@mdvacca please merge, it'll render widgets according to Google recommendations and allow us to support backgroundTint. |
@dulmandakh I tried to find reviewers for this pull request and wanted to ping them to take another look. However, based on the blame information for the files in this pull request I couldn't find any reviewers. This sometimes happens when the files in the pull request are new or don't exist on master anymore. Is this pull request still relevant? If yes could you please rebase? In case you know who has context on this code feel free to mention them in a comment (one person is fine). Thanks for reading and hope you will continue contributing to the project. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hramos has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Here's an example of a failure that just surfaced when this PR was imported:
|
you need to add support-v4 as dependency
and maybe support-annotations
|
Can you make the change on your PR? I'll re-import afterwards. |
@hramos Android CI is green 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
I tried to merge this pull request into the Facebook internal repo but some checks failed. To unblock yourself please check the following: Does this pull request pass all open source tests on GitHub? If not please fix those. Does the code still apply cleanly on top of GitHub master? If not can please rebase. In all other cases this means some internal test failed, for example a part of a fb app won't work with this pull request. I've added the Import Failed label to this pull request so it is easy for someone at fb to find the pull request and check what failed. If you don't see anyone comment in a few days feel free to comment mentioning one of the core contributors to the project so they get a notification. |
@hramos please try again 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hramos has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Should we continue working on this? |
David and I working on landing AndroidX, and I hope that we can land this
after that.
… |
Android documentation recommends to use widgets from AppCompat, also Android Studio warns about it. This PR changes Picker, Slider, Text, TextInput components to use AppCompat widgets.
CI is GREEN https://circleci.com/gh/dulmandakh/react-native/453
Test Plan
Android builds and runs as usual, almost no visual changes
Release Notes
[ANDROID] [ENHANCEMENT] [WIDGET] - extend widgets from AppCompat