• 1月23日 textview


    xml

     1 <?xml version="1.0" encoding="utf-8"?>
     2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     3     android:layout_width="match_parent"
     4     android:layout_height="match_parent"
     5    android:orientation="vertical">
     6 <TextView
     7     android:id="@+id/tv_1"
     8     android:layout_width="wrap_content"
     9     android:layout_height="wrap_content"
    10     android:text="@string/tv_test1"
    11     android:textColor="#000000"
    12     android:textSize="30sp"/>
    13     <TextView
    14     android:id="@+id/tv_4"
    15     android:layout_width="wrap_content"
    16     android:layout_height="wrap_content"
    17     android:text="@string/tv_test1"
    18     android:textColor="#000000"
    19     android:textSize="30sp"/>
    20     <TextView
    21         android:id="@+id/tv_5"
    22         android:layout_width="wrap_content"
    23         android:layout_height="wrap_content"
    24         android:text="啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦啦"
    25         android:textColor="#000000"
    26         android:singleLine="true"
    27         android:ellipsize="marquee"
    28         android:marqueeRepeatLimit="marquee_forever"
    29         android:focusable="true"
    30         android:focusableInTouchMode="true"
    31         android:textSize="30sp"/>
    32     <TextView
    33         android:id="@+id/tv_2"
    34         android:layout_width="100dp"
    35         android:layout_height="wrap_content"
    36         android:maxLines="1"
    37         android:ellipsize="end"
    38         android:text="@string/tv_test1"
    39         android:textColor="#000000"
    40         android:textSize="30sp"/>
    41 
    42     <TextView
    43         android:id="@+id/tv_3"
    44         android:layout_width="wrap_content"
    45         android:layout_height="wrap_content"
    46         android:drawablePadding="5dp"
    47         android:text="筛选"
    48         android:textColor="#000000"
    49         android:textSize="30sp" />
    50 </LinearLayout>
  • 相关阅读:
    JavaScript 的 Promise
    MacOS copy图标shell脚本
    ExtJS 修改load paging时的参数
    JSONP
    8种跨域解决方案
    Ext Store Proxy Ajax
    ExtJS 自定义组件
    MacOS Apache配置
    xshell 上传 下载文件
    shell 内网主机存活探测器
  • 原文地址:https://www.cnblogs.com/dty602511/p/14859619.html
Copyright © 2020-2023  润新知