只需android:fontFamily为每个孩子使用该属性TextView.
<TextSwitcher . . .>
<TextView
android:fontFamily="..."
. . . />
<TextView
android:fontFamily="..."
. . . />
</TextSwitcher>
Run Code Online (Sandbox Code Playgroud)
在TextSwitcher这两个之间来回转换TextView的孩子,使用字体家族(字体)指定.
| 归档时间: |
|
| 查看次数: |
1572 次 |
| 最近记录: |