[TIMOB-20276] Color of an "autolink"ed label
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | n/a |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Android |
| Labels | android, color |
| Reporter | Jonathan Plantey |
| Assignee | Unknown |
| Created | 2016-01-26T09:04:17.000+0000 |
| Updated | 2018-02-28T19:55:46.000+0000 |
Description
Hello,
it seems to be not possible to change the color of an autolinked label on android (tintcolor on IOS ?).
<Label autoLink="Ti.UI.AUTOLINK_EMAIL_ADDRESSES" color="#fff" text="blabla email@fai.com">
The stackoverflow post : http://stackoverflow.com/questions/34877984/autolink-text-color
Is it possible to do someting ?
Thanks
Hello, Below code demonstrate the issue.
Though the label color is '#FFF', autoLink makes it slightly greenish. There is no way to change the link color in Android. This is possible in Native Android. See the [referance](http://developer.android.com/reference/android/widget/TextView.html#attr_android:textColorLink). This feature would be a nice inclusion to our platform. Thanks.var win = Ti.UI.createWindow({ title : 'Login/Logout', backgroundColor : '#fff', fullscreen : false }); var label = Ti.UI.createLabel({ text : 'shabudarda@gmail.com', color : '#FFF', autoLink : Ti.UI.AUTOLINK_EMAIL_ADDRESSES, textAlign : 'center' }); win.add(label); win.open();