T Thraka Member Licensed User Longtime User Jul 30, 2014 #1 Uniform fill seems like a must for the image view. Unless you know the ratio of the image, and set your width/height of the ImageView to match that, stretching will distort the image. Please add a uniform fill option. Thanks!
Uniform fill seems like a must for the image view. Unless you know the ratio of the image, and set your width/height of the ImageView to match that, stretching will distort the image. Please add a uniform fill option. Thanks!
Informatix Expert Licensed User Longtime User Jul 30, 2014 #2 Thraka said: Uniform fill seems like a must for the image view. Unless you know the ratio of the image, and set your width/height of the ImageView to match that, stretching will distort the image. Please add a uniform fill option. Thanks! Click to expand... I'm not sure to understand what you call an "uniform fill" option, because that sounds to me as an option to strech the image, but you can have a look at my BetterImageView library. You should find what you look for in the various values of ScaleType.
Thraka said: Uniform fill seems like a must for the image view. Unless you know the ratio of the image, and set your width/height of the ImageView to match that, stretching will distort the image. Please add a uniform fill option. Thanks! Click to expand... I'm not sure to understand what you call an "uniform fill" option, because that sounds to me as an option to strech the image, but you can have a look at my BetterImageView library. You should find what you look for in the various values of ScaleType.
T Thraka Member Licensed User Longtime User Jul 30, 2014 #3 Hmm I'm not sure what it is called in the android world. Basically it keeps the ratio of the image the same when stretching. It doesn't stretch to fit the entire control area. It stretches to fit to whichever edge is closest. Ok I'll check out your control library, but it would be handy to have this added to the built in control.
Hmm I'm not sure what it is called in the android world. Basically it keeps the ratio of the image the same when stretching. It doesn't stretch to fit the entire control area. It stretches to fit to whichever edge is closest. Ok I'll check out your control library, but it would be handy to have this added to the built in control.