会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
share_nc
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
2017年3月20日
xml--字符串数组
摘要: <resources> <string-array name="balls"> <item >篮球</item> <item>乒乓球</item> <item>台球</item> </string-array> </resources> 在程序中以R.array.balls获取此数组
阅读全文
posted @ 2017-03-20 22:43 share_nc
阅读(426)
评论(0)
推荐(0)
编辑
ListView Spinner Gallery 与 ArrayAdapter SimpleAdapter等
摘要: public class MainActivity extends AppCompatActivity { private String[] names = new String[]{"B神", "基神", "曹神"}; private String[] says = new String[]{"无
阅读全文
posted @ 2017-03-20 22:40 share_nc
阅读(85)
评论(0)
推荐(0)
编辑
BoardcastReceiver的简单使用
摘要: 动态注册:不打开程序无法接受广播 1 public class MyBRReceiver extends BroadcastReceiver{ 2 @Override 3 public void onReceive(Context context, Intent intent) { 4 Toast.
阅读全文
posted @ 2017-03-20 19:09 share_nc
阅读(323)
评论(0)
推荐(0)
编辑