我在哪里可以找到为诸如triplingo 应用程序之类的钛应用程序构建自定义用户界面的好资源
问问题
1197 次
2 回答
2
于 2012-08-18T03:31:23.210 回答
1
If your looking for custom UI, you obviously, need to hire a designer fluent in Photoshop, Illustrator or whatever graphics program.
If your looking for code to style said apps, then look no further than the docs, specifically the backgroundImage
attribute of every view in titanium.
For example to style a custom button, do this:
var more_btn = Ti.UI.createButton({
backgroundImage : 'More-1.png', // Custom UI
backgroundFocusedImage : 'More-2.png', // Custom UI when clicked
top : 271,
left : 173,
width : 135,
height : 40
});
于 2012-08-13T04:51:06.120 回答