1

我在哪里可以找到为诸如triplingo 应用程序之类的钛应用程序构建自定义用户界面的好资源

4

2 回答 2

2

Appcelerator 为自定义 UI 开发提供了几个教程:

  1. 自定义 UI 组件
  2. 使用 Titanium 构建高级事务 UI

我建议您观看锻造钛视频系列以获得更先进的技术在这里

于 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 回答