android:text 文字阴影设置
来源:互联网 发布:thinkphp打印sql语句 编辑:程序博客网 时间:2024/05/16 17:44
http://blog.csdn.net/imdxt1986/article/details/6947270
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="text1"
- android:textSize="35dip"
- android:textStyle="bold"
- android:textColor="#FFFFFF"
- android:shadowColor="#ff000000"
- android:shadowDx="2"
- android:shadowDy="2"
- android:shadowRadius="1"/> </SPAN><SPAN style="COLOR: #993300"><STRONG> </STRONG></SPAN>
<TextView android:id="@+id/text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="text1" android:textSize="35dip" android:textStyle="bold" android:textColor="#FFFFFF" android:shadowColor="#ff000000" android:shadowDx="2" android:shadowDy="2" android:shadowRadius="1"/>
关于android文字阴影,共有四个属性可以设置:
android:shadowColor :阴影颜色
android:shadowDx :阴影x方向位移
android:shadowDy :阴影y方向位移
android:shadowRadius :阴影的半径
注意:阴影的半径必须设,为0时没有效果。
android:shadowColor="#ff000000" (前两位为透明度)
android:shadowDx="2"
android:shadowDy="0"
android:shadowRadius="1" //这一项是必须要有的数字越大阴影会越透明和扩散
- android:text 文字阴影设置
- android:text 文字阴影设置
- Android text文字阴影设置
- Android text文字阴影设置
- android:text 文字阴影设置
- android文字阴影效果设置
- android文字阴影效果设置
- 设置android文字字体和阴影
- CSS3之阴影-文字阴影text-shadow
- Swift 设置文字阴影
- android文字阴影
- android文字阴影效果
- android文字阴影效果
- android文字阴影效果
- Android文字阴影效果
- android文字阴影效果
- android文字阴影效果
- Android TextView 文字阴影
- [Head First Java]-读书笔记
- PHP PDOStatement:bindParam插入数据错误问题分析
- doom3渲染器部分1
- LVS
- VC++ MFC文件的移动复制删除更名遍历操作
- android:text 文字阴影设置
- ubuntu定义别名(alias)
- iOS申请真机调试证书-图文详解
- U-BOOT环境变量实现
- 小搜索思想
- 人生与追求
- 阶段性困惑
- 简单的Jquery遮罩层代码实例
- osi七层模型