EditText with custom theme shows underline under selection handle

后端 未结 3 667
無奈伤痛
無奈伤痛 2020-12-11 07:25

i am trying to modify the underline color of a EditText by applying a theme.

Style:


and in the layout xml i added inside edittext:

android:textColor="@color/darkGray"
android:textColorHint="@color/darkGray"
android:theme="@style/RecyclerEditText"

--

Now i have no offset in control icon, and no double underline.

Thanks a lot @litmon ! You pushed me to the "remove parent" idea.

提交回复
热议问题