Appcelerator Titanium:如何减少Android Picker的大小?

时间:2011-12-09 06:26:51

标签: android titanium appcelerator font-size picker

我想使用Appcelerator Titanium降低Android Picker的高度。它允许我减小尺寸,但内容不可见。此外,我发现没有办法减少钛机器人中的选择器数据的字体大小。

如果有人遇到同样的问题并找到解决方案,请告诉我。

谢谢

2 个答案:

答案 0 :(得分:0)

我认为没有办法实现这一目标。我做的解决方法是这样的:

// create a custom picker using table view
// you can change its font & row size
var tbl = Ti.UI.createTableView();

// set it to OptionDialog's androidView
var op = Ti.UI.createOptionDialog({
    androidView: tbl
});

答案 1 :(得分:0)

我最终没有解决方案!无法调整Android Picker大小的大小无法更改。我已经尝试了很多努力,我最终取得了成功。