【问题标题】:How to add dotted line on a view on appcelerator titanium?如何在 appcelerator 钛的视图上添加虚线?
【发布时间】:2018-09-06 03:46:48
【问题描述】:

我知道我们不能在 .tss 的边框样式中添加 dotted。我可以知道在边框上添加虚线以获得视图的任何技巧或想法吗?

【问题讨论】:

    标签: appcelerator appcelerator-alloy tss


    【解决方案1】:

    最好的办法是创建图片

    你可以使用 MaskedImage 并设置你想要的颜色

    <MaskedImage id="dotted" tint="#68BCBF" mask="/images/dottedTuto.png" width="Ti.UI.FILL" height="Ti.UI.FILL"></MaskedImage>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多