我有編輯的文字是這樣的:安卓EDITTEXT改變背景顏色,當輸入
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:hint="input something"
android:layout_weight="1"
android:textSize="20sp"
android:textColor="#04ff00"
android:textColorHint="#0094fd"/>
這是結果:
一樣的形象,我想改變文本時的背景在edittext中輸入。
該怎麼辦?
只是可以肯定,要更改所選文本的背景顏色,對? –
是的,我的意思是。 – 1234abcd