I created my custom theme and in my layouts I have a couple of EditText views. Since I set
android:selectAllOnFocus="true"
,I've noticed that the color of selection is default one for my phone, so I was wondering can I set some attribute and which, of course, in my definition of my theme to have a desired effect, ie set the color of selection to needed color?
Best, Deveti
将android:textColorHighlight
设置为您喜欢的颜色。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.