文件名称:RichText
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Android] [Java] [源码]
- 上传时间:
- 2013-07-12
- 文件大小:
- 680kb
- 下载次数:
- 0次
- 提 供 者:
- 张
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
TextView通常用来显示普通文本,但是有时候需要对其中某些文本进行样式、事件方面的设置。android系统通过SpannableString类来对指定文本进行相关处理,具体有以下功能:
1、BackgroundColorSpan 背景色
2、ClickableSpan 文本可点击,有点击事件
3、ForegroundColorSpan文本颜色(前景色)
4、MaskFilterSpan 修饰效果,如模糊(BlurMaskFilter)、浮雕(EmbossMaskFilter)
5、RasterizerSpan 光栅效果
6、StrikethroughSpan删除线(中划线)
7、UnderlineSpan 下划线
8、AbsoluteSizeSpan 绝对大小(文本字体)
9、DynamicDrawableSpan设置图片,基于文本基线或底部对齐。
10、ImageSpan 图片
11、RelativeSizeSpan 相对大小(文本字体)
12、ScaleXSpan 基于x轴缩放
13、StyleSpan 字体样式:粗体、斜体等
14、Subscr iptSpan 下标(数学公式会用到)
15、Superscr iptSpan 上标(数学公式会用到)
16、TextAppearanceSpan文本外貌(包括字体、大小、样式和颜色)
17、TypefaceSpan 文本字体
18、URLSpan 文本超链接-TextView is usually used to display plain text, but sometimes need some text styles, events in the settings. android system through SpannableString class to the specified text related processing, specifically the following features: 1, BackgroundColorSpan background color 2, ClickableSpan clickable text with click event 3, ForegroundColorSpan text color (foreground) 4, MaskFilterSpan modification effects, such as blur (BlurMaskFilter), relief (EmbossMaskFilter) 5, RasterizerSpan grating effect 6, StrikethroughSpan strikethrough (underlined) 7, UnderlineSpan underline 8, AbsoluteSizeSpan absolute size (text font) 9, DynamicDrawableSpan set the picture, text-based baseline or bottom alignment. 10, ImageSpan picture 11, RelativeSizeSpan relative size (text font) 12, ScaleXSpan based on x-axis scaling 13, StyleSpan font styles: bold, italic, etc. 14, Subscr iptSpan subscr ipt (mathematical formula will be used) 15, Superscr iptSpan superscr ipt (math formula will be used) 16, TextAppearanceSpa
1、BackgroundColorSpan 背景色
2、ClickableSpan 文本可点击,有点击事件
3、ForegroundColorSpan文本颜色(前景色)
4、MaskFilterSpan 修饰效果,如模糊(BlurMaskFilter)、浮雕(EmbossMaskFilter)
5、RasterizerSpan 光栅效果
6、StrikethroughSpan删除线(中划线)
7、UnderlineSpan 下划线
8、AbsoluteSizeSpan 绝对大小(文本字体)
9、DynamicDrawableSpan设置图片,基于文本基线或底部对齐。
10、ImageSpan 图片
11、RelativeSizeSpan 相对大小(文本字体)
12、ScaleXSpan 基于x轴缩放
13、StyleSpan 字体样式:粗体、斜体等
14、Subscr iptSpan 下标(数学公式会用到)
15、Superscr iptSpan 上标(数学公式会用到)
16、TextAppearanceSpan文本外貌(包括字体、大小、样式和颜色)
17、TypefaceSpan 文本字体
18、URLSpan 文本超链接-TextView is usually used to display plain text, but sometimes need some text styles, events in the settings. android system through SpannableString class to the specified text related processing, specifically the following features: 1, BackgroundColorSpan background color 2, ClickableSpan clickable text with click event 3, ForegroundColorSpan text color (foreground) 4, MaskFilterSpan modification effects, such as blur (BlurMaskFilter), relief (EmbossMaskFilter) 5, RasterizerSpan grating effect 6, StrikethroughSpan strikethrough (underlined) 7, UnderlineSpan underline 8, AbsoluteSizeSpan absolute size (text font) 9, DynamicDrawableSpan set the picture, text-based baseline or bottom alignment. 10, ImageSpan picture 11, RelativeSizeSpan relative size (text font) 12, ScaleXSpan based on x-axis scaling 13, StyleSpan font styles: bold, italic, etc. 14, Subscr iptSpan subscr ipt (mathematical formula will be used) 15, Superscr iptSpan superscr ipt (math formula will be used) 16, TextAppearanceSpa
(系统自动生成,下载前可以参看下载内容)
下载文件列表
RichText
........\.classpath
........\.project
........\AndroidManifest.xml
........\assets
........\bin
........\...\AndroidManifest.xml
........\...\classes
........\...\classes.dex
........\...\.......\com
........\...\.......\...\wylx
........\...\.......\...\....\richtext
........\...\.......\...\....\........\BuildConfig.class
........\...\.......\...\....\........\MainActivity$1.class
........\...\.......\...\....\........\MainActivity$2.class
........\...\.......\...\....\........\MainActivity.class
........\...\.......\...\....\........\R$attr.class
........\...\.......\...\....\........\R$dimen.class
........\...\.......\...\....\........\R$drawable.class
........\...\.......\...\....\........\R$id.class
........\...\.......\...\....\........\R$layout.class
........\...\.......\...\....\........\R$menu.class
........\...\.......\...\....\........\R$string.class
........\...\.......\...\....\........\R$style.class
........\...\.......\...\....\........\R.class
........\...\res
........\...\resources.ap_
........\...\...\drawable-hdpi
........\...\...\.............\ic_action_search.png
........\...\...\drawable-ldpi
........\...\...\drawable-mdpi
........\...\...\.............\ic_action_search.png
........\...\...\drawable-xhdpi
........\...\...\..............\ic_action_search.png
........\...\...\..............\ic_launcher.png
........\...\RichText.apk
........\gen
........\...\com
........\...\...\wylx
........\...\...\....\richtext
........\...\...\....\........\BuildConfig.java
........\...\...\....\........\R.java
........\ic_launcher-web.png
........\libs
........\....\android-support-v4.jar
........\proguard-project.txt
........\project.properties
........\res
........\...\drawable-hdpi
........\...\.............\ic_action_search.png
........\...\drawable-ldpi
........\...\drawable-mdpi
........\...\.............\ic_action_search.png
........\...\drawable-xhdpi
........\...\..............\ic_action_search.png
........\...\..............\ic_launcher.png
........\...\layout
........\...\......\activity_main.xml
........\...\menu
........\...\....\activity_main.xml
........\...\values
........\...\values-large
........\...\............\dimens.xml
........\...\values-v11
........\...\..........\styles.xml
........\...\values-v14
........\...\..........\styles.xml
........\...\......\dimens.xml
........\...\......\strings.xml
........\...\......\styles.xml
........\src
........\...\com
........\...\...\wylx
........\...\...\....\richtext
........\...\...\....\........\MainActivity.java