TextView(标签控件)

 常用:
       android:text           //显示文本内容
       android:textColor      //文字的颜色
       android:textSize       //文字的大小
       android:textStyle      //字体样式:bold,italic
       android:maxLength      //允许的最大字符数
       android:password       //是否用密文显示:true,false

 方法:
       setText(String);//设置文本内容
       getText().toString();//返回文本内容

 补充属性
       android:layout_width//控件宽度
       android:layout_height//控件高度
       android:id="@+id/id值"//设置控件的唯一标识
       android:background//设置背景

原文地址:https://www.cnblogs.com/banxia123-ha/p/6848769.html