Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Images resize when scrolling on Android

$
0
0

I'm using Titanium Studio 3.4.1.201410281727-28102014172823 and have the following code that adds a imageview to a table row.


      var blogPhoto = Ti.UI.createImageView({
             image: photoUrl ,
             left : 0,
             width : "100%",
             borderWidth: 8,
             borderColor: "white"
       });

When the images first render some are 100% and other are not. When I scroll through the table most if not all eventually become 100% wide. Does anyone know how to prevent this from happening? What I want is all of the images to be 100% before rendering.

Thanks


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>