how to change the color of the takePhotoButtonTitle, chooseFromLibraryButtonTitle
See original GitHub issueDescription
How to change the color of the takePhotoButtonTitle, chooseFromLibraryButtonTitle to “red”, e.g? I managed to change the background color, the color of the title and cancel button with code below.
Source code
`<resources>
<!-- Dialog and Alert Colors. -->
<style name="DefaultExplainingPermissionsTheme" parent="Theme.AppCompat.Light.Dialog.Alert">
<!-- Used for the background -->
<item name="android:background">#eeeeee</item>
<!-- Used for the title -->
<item name="android:textColor">#000000</item>
<!-- Used for message color of dialog -->
<item name="android:textColorPrimary">#ff0000</item>
<!-- Used for the cancel button -->
<item name="colorAccent">#4dcaba</item>
</style>
</resources>
`
Solution
Add option buttonTitleColor.
Additional Information
- React Native version: 0.43.1
- Platform: Android
- Development Operating System: Linux
Issue Analytics
- State:
- Created 6 years ago
- Comments:14
Top Results From Across the Web
how to change the color of the takePhotoButtonTitle ... - GitHub
How to change the color of the takePhotoButtonTitle, chooseFromLibraryButtonTitle to "red", e.g? I managed to change the background color, the ...
Read more >Image picker feature using React native - Medium
Take Photo Button Title ; Choose From Library Button Title; Choose Which Library Title; Custom Buttons; Tint Color; Camera Type; Media Type; Max...
Read more >change button color react native - Stack Overflow
I want to simply change the color of the button, but i can't. I tried to change directly in the button, and pass...
Read more >react-native-image-selector - npm
The only change could be iOS (for iOS 14 limited selection issues). ... takePhotoButtonTitle: '사진 촬영', chooseFromLibraryButtonTitle: ...
Read more >React Native Pick Images From Camera & Gallery Example
... Take Photo Button Title; Choose From Library Button Title; Choose Which Library Title; Custom Buttons; Tint Color; Camera Type ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If someone is still looking for an answer:
I added to my AppTheme
<item name="android:textColorAlertDialogListItem">YOUR_COLOR</item>
EDIT:
Note: This will also affect your ReactNative DevMenu
My fix is to create a layout called list_item.xml it will override the default one