How to draw a line in titanium that works on both Android and iPhone?
you can create a web view and use the tag <canvas>to draw in the web view
<canvas>
To create a string, I use:
var view = Ti.UI.createView({ height:180, width:300 }); var line = Ti.UI.createView({ height:2, bottom:0, left:0, right:0, borderWidth:1, borderColor:'#aaa' }); view.add(line);
view.xml
<View class="line"></View>
.tss
".line": { height: '2dp', bottom: '2dp', left: '0dp', right: '0dp', borderWidth: '1', borderColor:'#aaa', }
Source: https://habr.com/ru/post/1770597/More articles:SharePoint 2010 - List View Threshold: What Does Not Cause a Threshold? - listКак сохранить состояние приложения (значения переменных, состояния кнопок и т.д.) В приложении Windows Phone 7 Silverlight? - windows-phone-7How do you view class files in Eclipse explorer? - javaHow to get client IP address inside struts2 action method? - javaDynamic Linq - request a schema that is known only at runtime? - linq-to-sqlhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1770598/determine-which-unit-tests-to-run-based-on-diffs&usg=ALkJrhhWF6KS4AQMyLqeVEdQRpwB-PtPGACocoa - Open batch file in Finder - cocoaUse Unmanaged FindFirstVolume to List .NET Volumes in C # - c #Jsp include, forwarding request parameter - parameter-passingесть ли простой способ отслеживать переменную javascript с помощью firefox? - javascriptAll Articles