[TIMOB-19629] Android: Buttons stay uppercased in UI
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-11-10T22:08:10.000+0000 |
Affected Version/s | Release 4.1.1 |
Fix Version/s | Release 6.1.0 |
Components | Android |
Labels | android, button, material-theme, qe-6.1.0, uppercased |
Reporter | Creative |
Assignee | Gary Mathews |
Created | 2015-07-06T14:21:11.000+0000 |
Updated | 2016-11-28T17:14:54.000+0000 |
Description
Probably due to Material design. The following android style XML syntax does not work on buttons used in a ListItem:
<item name="android:textAllCaps">false</item>
Either applied to a theme or a button, it doesnt change it. It does seem to work for all other buttons you defined through the Alloy xml.
This issue is still present on SDK 5.x I have my style.xml:
The expected behaviour would be to have the all uppercase default disabled. But it gets ignored.
Oh my god! I went mad with this textAllCaps of buttons inside listview!!!! I have the same problem!! :-/
Does anyone will look this bug? It is persistent with last sdk 5.5.1 and Android version 5, 6 and 7.
Code example. Download the project https://www.wetransfer.com/downloads/cb2d05ca927dacf0e395cccf2bcc5c6320161029162519/fbb102deacca31a0e74ddf2c4c03ab0c20161029162519/5e7773 ApplicationWindow.js
tiapp.xml
custom_theme.xml
[~otto.pic] Thanks we'll check it out soon.
PR: https://github.com/appcelerator/titanium_mobile/pull/8572
master: https://github.com/appcelerator/titanium_mobile/pull/8592
Verified as fixed the button text is now lowercase. Tested on: {noformat} macOS Sierra 10.12.1 Nexus 5X(6.0.1) Nexus 6p (7.0) Android emulator (4.4.2, 5.0.1) Studio: 4.8.0.201611121409 Ti SDK: 6.1.0.v20161128031712 Appc NPM: 4.2.8 App CLI: 6.1.0-296 Node v4.4.7 {noformat} *Closing Ticket.*