当前位置: 代码迷 >> 综合 >> Record: TextSelector Notification Marquee YesterdayZeroTime
  详细解决方案

Record: TextSelector Notification Marquee YesterdayZeroTime

热度:32   发布时间:2023-12-16 14:10:01.0

1: TextSelector

<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"><item android:color="#45c01a" android:state_selected="true"/><item android:color="#9a9a9a"/></selector>

2: 跑马灯

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"xmlns:app="http://schemas.android.com/apk/res-auto"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"android:orientation="vertical"tools:context=".MainActivity"><TextViewandroid:layout_width="wrap_content"an
  相关解决方案