android - 文字颜色状态选择器
ringa_lee
ringa_lee 2017-04-17 17:33:53
0
2
469

点击文字 怎么让它一直保持颜色 而不是点击的一瞬间颜色变化?

ringa_lee
ringa_lee

ringa_lee

reply all(2)
洪涛

After clicking, let the text be in the focus state, and then set the color of the focus state in the state selector.

刘奇

Just set the color directly in the click event. Just click tv.setTextColor and it will be fine

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template