Android(安卓)TextView跑马灯
16lz
2021-01-26
1 <TextView 2 android:layout_width="fill_parent" 3 android:layout_height="wrap_content" 4 android:layout_margin="20dp" 5 android:ellipsize="marquee" 6 android:focusable="true" 7 android:focusableInTouchMode="true" 8 android:marqueeRepeatLimit="marquee_forever" 9 android:scrollHorizontally="true"10 android:text="testtesttesttesttest"11 android:textSize="20sp" />
红色字体的部分是必须要的。
更多相关文章
- Android中textview字体动画
- android改变按下和放开组件时字体的颜色
- Android开发过程当中无法获取屏幕…
- Android(安卓)更换字体和改变字重
- react-native-vector-icons android 字体图标
- Android(安卓)字体设置-Typeface讲解
- Android中Paint字体属性的一些设置
- Android(安卓)Weekly Notes Issue #251
- Android特殊字体的处理---加下划线等