Android组件总结
「已注销」
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Android 使用xml定义Drawable--第一篇:概述以和Shape Drawable示例
简介: A drawable resource is a general concept for a graphic that can be drawn to the screen and which you can retrieve with APIs such as getDrawable(int) or apply to another XML resource with attr原创 2016-03-29 11:24:51 · 697 阅读 · 0 评论 -
Android TextView系列--第一篇
本篇内容包括: 1 TextView如何使用html显示 2 TextView内容特殊格式校验 3 SpannableString属性详解1 TextView支持Html格式:效果图1 :代码:private String descString = "<font size='10' color='#778797'><strong>体验计划说明:</strong></font原创 2016-03-31 16:11:31 · 568 阅读 · 0 评论 -
Android TextView系列--第二篇
本篇文章包括:1 发光的字体 1.1 基础LinearGradient 1.2 发光字体实现1 发光的字体:1.1基础LinearGradient:效果图: 代码如下:public class MyLinearGradientView extends View implements Runnable{ private LinearGradient linearGr原创 2016-04-03 22:40:53 · 395 阅读 · 0 评论 -
RecyclerView通用适配器
目录:1 单一类型数据展示2 多种类型数据展示3 添加setOnItemClickListener监听4 添加Header、Footer5 封装成通用的方式1 单一数据展示:Google一下,一堆堆的,就不再制造垃圾了。2 多种类型数据展示:由于最后需要封装成通用的方式,这一步还是要写的。1 定义两种ViewHolder:// 普通ViewHolderpublic static cl原创 2016-05-14 22:20:25 · 738 阅读 · 0 评论
分享