通过xml中给Spinner添加android:entries属性绑定;或者通过在java代码中getResources().getStringArray()来获取(通过R.array.+资源数组名):.
確定! 回上一頁