Android中跑马灯 maxLines与singleLine
16lz
2021-12-04
android:id="@+id/tv_marquee" android:text="学习交流,如有疑问可以发送电邮至1443793484@qq.com" android:layout_width="match_parent" android:layout_height="wrap_content" android:padding="5dp" //现在新版本的sdk已经将singleline视作过时的应用 android:singleLine="true" android:textColor="#b43838" android:ellipsize="marquee" android:focusable="true" android:marqueeRepeatLimit="marquee_forever" android:focusableInTouchMode="true" android:scrollHorizontally="true" />
更多相关文章
- Android子控件超出父控件方法
- Android(安卓)TextView 如何判断是否已经省略
- Android(安卓)2.2.2到Android(安卓)4.2.2源码下载地址
- android 编译错误--超出接口数量限制
- 设置Textview最大长度,超出显示省略号
- android 解决password过时
- Android(安卓)TextView 超出长度显示省略号?
- 留言板添加字数实时统计和超出判断以及数组字符串方法
- 为留言板添加字数实时统计与禁止超出功能; 2. 自选一些字符串和