随笔 - 148,  文章 - 0,  评论 - 5,  阅读 - 10786

随笔分类 -  android

Android 30
摘要:今天学习了gridview 网格视图,gridview和baseadapter的连用 gridview中有个属性 numColumns 代表网格列数 1.新建适配器继承BaseAdapter; 重写方法,编写新建的适配器的构造方法。 public View getView(int position, 阅读全文
posted @ 2021-02-12 20:55 sakura_xxg 编辑
Android 29
摘要:今天学习了BaseAdapter 在此过程中findviewbyid时报了一个空指针异常,原因是把= 写成了. 还有小毛病就是case 忘记加了break 阅读全文
posted @ 2021-02-11 20:53 sakura_xxg 编辑
Android 24
摘要:今天学习了表格布局,帧布局,和线性布局,相对布局 阅读全文
posted @ 2021-02-06 10:49 sakura_xxg 编辑
Android 23
摘要:今天学习了百分比相对布局 在build。gradle中写入了 implementation'com.android.support:percent:30.0.3' 30.0.3'是当前版本的版本号 buildToolsVersion "30.0.3"之后通过layout <?xml version= 阅读全文
posted @ 2021-02-05 09:43 sakura_xxg 编辑
Android 22
摘要:今天学习了ViewPage广告栏 阅读全文
posted @ 2021-02-04 09:08 sakura_xxg 编辑
Android 18
摘要:今天学习了进度条组件progressbar 阅读全文
posted @ 2021-01-31 11:23 sakura_xxg 编辑
Sqlite数据库连接
摘要:项目包中有Constants/Dao/DatabseHelper三个类和一个MainActivity Constants类中定义一些常量如数据库名 版本号 表名等。 Constants类 public class Constants { public static final String DATA 阅读全文
posted @ 2021-01-29 11:11 sakura_xxg 阅读(383) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示