1

有什么方法可以在运行时更改 PickerView 的大小及其位置。What I do need to do was when A certain Row in A certain Component is selected I will got to show the another pickerView on the right side then the first PickerView will resize itself and change its position so that the new PickerView will be seen.

我不想将第二个 PickerView 的值放在第一个 PickerView 上,因为第一个 PickerView 中的某些项目没有任何关系或不需要显示其他值。

4

2 回答 2

0

您可以使用文本编辑器打开设计文件,然后找到与选取器视图相关的部分,最后更改选取器视图的宽度-高度。但是,请记住,这也有一些限制。

于 2012-01-17T21:56:35.960 回答
0

选择器视图的高度和宽度是固定不变的。(我怀疑是因为准3D旋转动画的要求。)

选择器视图将从右到左填充屏幕。你唯一能做的就是上下移动它们。

于 2010-01-27T13:42:28.673 回答