Is a TiTouchImageView working in an alloy project? [UPDATE]

前端 未结 3 857
醉梦人生
醉梦人生 2021-01-26 07:00

I am currently developing a titanium app for android and iOs including an imageView which should be scrollable and scalable (via a slider). I already get this to work on iOs but

3条回答
  •  长发绾君心
    2021-01-26 07:34

    i have been using this in my project like.

    In xml

      
    

    In tss

    "#windowView":{
    top: 44,
    height: Ti.UI.FILL,
    width: Ti.UI.FILL,
    backgroundColor: "trasparent"
    

    }

    In JS

    $.windowView.image = "image path here"
    

    And its working like a charm.

提交回复
热议问题