Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23133] Support scaleMode for ImageView

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsTiAPI
Labelsimageview, scale
ReporterGertjan Smits
AssigneeUnknown
Created2016-03-27T19:20:22.000+0000
Updated2019-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

Comments

  1. Mostafizur Rahman 2016-03-28

    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.
  2. Gertjan Smits 2016-04-01

    I think so too :)
  3. Arjan 2019-01-03

    Wow, this is still not available for Android right? :-(

JSON Source