zoukankan      html  css  js  c++  java
  • 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>
  • 相关阅读:
    python初学者学习工具安装教程&安装步骤详解
    Django面试题
    数据库-面试题
    Python面试题
    Python 内置函数&filter()&map()&reduce()&sorted()
    Python匿名函数(lambda函数)
    Python中两大神器&exec() &eval()
    面向对象&从这里开始我们将不再是纯小白
    软件开发程序猿日常必备,现用现查&日志记录
    如何去写项目的readme&链接
  • 原文地址:https://www.cnblogs.com/dty602511/p/14859619.html
Copyright © 2011-2022 走看看