-- 设置android:singleLine属性单行, 并设置在结尾处截断 -->
<TextView
android:layout_height="wrap_content"...设置颜色 大小 阴影
设置文本颜色 :
-- XML属性 :android:textColor, 值是颜色代码, 也可以是资源文件中的颜色;
-- 方法 : setTextColor()....图像, 可以为该Drawable指定背景颜色,边框颜色,边框宽度,以及边框角度,颜色渐变等效果;
....,边框颜色,边框宽度,以及边框角度,颜色渐变等效果"
android:textSize="24dp"
android:background="@drawable/background_frame2...-- 设置边框的厚度为4像素, 设置边框颜色 -->
<stroke android:width="10px"
android:color="#01DF01"/>
</shape