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

Transform not working on second load for Android

$
0
0

I'm trying to rotate a webview that has some html in it on my Android app and it seems everytime the page loads a second time, the rotate transform does not work. Is this a bug?

var flip = Ti.UI.create2DMatrix();
flip = flip.rotate(-90);
 
var commonSideTextOne = Ti.UI.createWebView({
    html: '<p style="color:#fff;font-size: 10pt; padding-top: 2pt; font-family: futura;">Engine and <br />Drive Train</p>',
    transform: flip,
    top: 160,
    left: 195,
    width: 80,
    height: 70,
    backgroundColor: '#000'
});

Viewing all articles
Browse latest Browse all 8068

Trending Articles



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