列表添加列表项有两种方法:,下面例子: - spinner1通过android:entries指定了列表的项数组 - spinner2通过ArrayAdapter适配器使用数组来确定列表项.
確定! 回上一頁