上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 96 下一页
摘要: 使用AdapterViewFiller组件设置图片轮播,该组件可以自动切换view <?xml version="1.0" encoding="utf-8" ?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/an 阅读全文
posted @ 2019-09-10 14:50 超级学渣渣 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 这个东西用法基本固定,不知道能不能做三级的展开。 界面代码 主程序代码 阅读全文
posted @ 2019-09-09 19:50 超级学渣渣 阅读(474) 评论(0) 推荐(1) 编辑
摘要: 利用GridView和SimpleAdapter实现这个效果 主界面布局: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 阅读全文
posted @ 2019-09-07 17:25 超级学渣渣 阅读(1677) 评论(0) 推荐(0) 编辑
摘要: 这个比较简单,只是将AutoCompleteTextView绑定一个ArrayAdapter就可以了。 界面布局: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.c 阅读全文
posted @ 2019-09-07 17:03 超级学渣渣 阅读(277) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android 阅读全文
posted @ 2019-09-07 16:43 超级学渣渣 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 这个adapter用起来稍微复杂一点。 首先我们看main_activity的布局 在界面上只有一个listView 然后,我们在主函数里面利用simpleAdapter向这个listView填充内容 package com.example.adapter import android.suppor 阅读全文
posted @ 2019-09-07 15:44 超级学渣渣 阅读(1938) 评论(0) 推荐(0) 编辑
摘要: 利用ArrayAdapter向ListView中添加数据 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:o 阅读全文
posted @ 2019-09-07 15:05 超级学渣渣 阅读(1341) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android 阅读全文
posted @ 2019-09-07 14:49 超级学渣渣 阅读(189) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android 阅读全文
posted @ 2019-09-07 14:36 超级学渣渣 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 界面代码: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" a 阅读全文
posted @ 2019-09-06 20:34 超级学渣渣 阅读(405) 评论(0) 推荐(0) 编辑
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 96 下一页