摘要: 在<body></body>标签里有 <h></h>标题标签 <image src="">引入图片 <p></p>段落标签 在<p></p>标签里有 <em></em>文字变为斜体 <strong></strong>使文字加粗 <div></div>换行,块元素,需另起一行进行渲染的元素 <span 阅读全文
posted @ 2016-05-17 09:49 成功人土 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 1通过getSharedPreferences获得 SharedPreferences对象 2通过edit()方法获取Editor对象, 3通过Edtitor对象的putString()方法进行存储 4通过Editor对象的commit()方法进行提交 从存储中取出方法为String name=sh 阅读全文
posted @ 2016-05-16 11:12 成功人土 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 恢复内容开始 word中公式显示不全解决办法 http://www.jb51.net/office/word/311059.html 恢复内容结束 阅读全文
posted @ 2016-05-14 19:19 成功人土 阅读(86) 评论(0) 推荐(0) 编辑
摘要: onPreExcute 执行后台耗时操作前被调用,通常用户完成一些初始化动作 doInBackground 必须重写,异步执行后台线程将要完成的任务,不能在这方法中更新UI onPostExecute 当doInBackground()完成后,系统会自动调用onPostExecute()方法,并将d 阅读全文
posted @ 2016-05-11 19:20 成功人土 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 步骤:1新建activity_main.xml布局,包括ListView控件 2新建main.xml布局,为每个子控件设置属性 3新建数据源ItemBean类,里面包括子控件需要的东西, 4新建MainActivity类,加载数据源,用List集合,之后初始化适配器,加载适配器 5新建适配器MyAd 阅读全文
posted @ 2016-05-10 10:56 成功人土 阅读(180) 评论(0) 推荐(0) 编辑
摘要: alt+insert调用出构造方法 阅读全文
posted @ 2016-05-09 23:13 成功人土 阅读(90) 评论(0) 推荐(0) 编辑
摘要: Main代码 activity_main.xml content_main.xml content_marge.xml main.xml main2.xml 阅读全文
posted @ 2016-05-09 22:35 成功人土 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 在Android studio中sdk目录下platforms-android16-data-res-drawable-seek_thumb.xml,中可以查看seek_thumb.xml的滑块样式 阅读全文
posted @ 2016-05-09 20:11 成功人土 阅读(258) 评论(0) 推荐(0) 编辑
摘要: SeekBar监听器为SeekBar.onSeekBarChangeListener Main layout中main.xml 阅读全文
posted @ 2016-05-09 20:07 成功人土 阅读(410) 评论(0) 推荐(0) 编辑
摘要: MainActivity ImageAdapter main.xml 阅读全文
posted @ 2016-05-09 11:00 成功人土 阅读(236) 评论(0) 推荐(0) 编辑