zoukankan      html  css  js  c++  java
  • 1月25日 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>
  • 相关阅读:
    CSUST 4005-你真的会!(分治思维+线段树)
    CSUST 4007-你真的会图论吗?(思维-三元环)
    CSUST 4002-你真的会字符串吗?(DP)
    Odoo下拉动作列表
    Odoo Shell
    Odoo report
    Odoo Web Service API
    Odoo启动过程
    Odoo10 变化
    Odoo10尝鲜:出勤登记
  • 原文地址:https://www.cnblogs.com/dty602511/p/14859635.html
Copyright © 2011-2022 走看看