Home > Mobile >  Trouble you to help me see how to debug this underline color
Trouble you to help me see how to debug this underline color

Time:09-22

& lt; The EditText
Android: textSize="@ dimen/lib_size_text_15"
Android: textColor="@ color/lib_color_black_1"
Android: textColorHint="@ color/lib_color_black_3"
The android: id="@ id/mLibEdtContent
"Android: background="@ drawable/lib_dra_bg_edt"
Android: padding="@ dimen/lib_size_space_6"
Android: layout_width="match_parent"
Android: layout_height="wrap_content"
Android: layout_marginTop="@ dimen/lib_size_space_14"
Android: hint="@ string/lib_input_hint"
Android: maxLines="5"
Android: lineSpacingExtra="@ dimen/lib_size_space_4"/& gt;


Before clicking the cursor is light grey, after click is green (now this color), you help me have a look, how to modify this click on the green color, there is no value in the apk/color. XML this XML

CodePudding user response:

Set the android: textCursorDrawable

CodePudding user response:

reference 1st floor BDMH response:
set android: textCursorDrawable

Click on the underlined after color, adjust

CodePudding user response:

reference Wali ~ 2 floor response:
Quote: refer to 1st floor BDMH response:
set android: textCursorDrawable

Click on the underlined after color, adjust the

When you set in the XML focused and not focus style

CodePudding user response:

 
& lt; The selector XMLNS: android="http://schemas.android.com/apk/res/android" & gt;

& lt; The item android: drawable="@ drawable/edittext_default" android: state_focused="false"/& gt;
& lt; The item android: drawable="@ drawable/edittext_focused" android: state_focused="true"/& gt;

& lt;/selector>
  • Related