[TIMOB-23133] Support scaleMode for ImageView
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | TiAPI |
Labels | imageview, scale |
Reporter | Gertjan Smits |
Assignee | Unknown |
Created | 2016-03-27T19:20:22.000+0000 |
Updated | 2019-01-03T12:34:40.000+0000 |
Description
Our apps (and I think a lot of developers agree) could benefit greatly if ImageView would have a
scaleMode
property with possible values like 'fit', 'fill' etc. These properties are support by both platforms (iOS and Android).
See
http://developer.android.com/reference/android/widget/ImageView.ScaleType.html
and
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIView_Class/index.html#//apple_ref/occ/instp/UIView/contentMode
Hello, Thanks for sharing with us. I have researched on
scaleMode
property with possible values like *fit*, *fill* for ImageView in titanium doc but there is no feature like this. I think, this feature should be added in our API doc. Thanks.I think so too :)
Wow, this is still not available for Android right? :-(