首页 > 其他 > 详细

TextView

时间:2017-05-16 20:31:42      阅读:292      评论:0      收藏:0      [点我收藏+]

android:maxLength="6"  //允许最大值
      android:textColor="#ff0000" //文件颜色
      android:textSize="50px"  //文字大小
      android:textStyle="bold"  //文字样式
      android:passwprd="true"  //是否以密文方式显示
      android:layout_margin="100px" //外边距
      android:background="@drawable/a" //背景
      android:id="@+id/id值"    //设置ID的值
     
      getText().toString()  //获得控件的文本内容
      setText();    //设置控件的文本内容
     
      注意:<!--xx-->注释
4.Button
5.EditText
 android:enabled = "false"  //设置是否可用,false不能用

TextView

原文:http://www.cnblogs.com/liumeilin/p/6863488.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!