android文字标签处理

来源:互联网 发布:用手机可以开淘宝店吗 编辑:程序博客网 时间:2024/06/07 01:19

<TextView android:id="@+id/timeText"

    android:layout_width="wrap_content"     //相对位置

    android:layout_height="wrap_content"   //相对位置

    android:gravity="center"

     android:autoLink="all"  //设置为超链接

    android:textSize="20dp" //设置字体大小

    android:width="150px"  绝对位置
    android:textColor="#ff9"/> //设置字体颜色
原创粉丝点击