mirror of https://github.com/M66B/FairEmail.git
Use control color for auto complete action button
This commit is contained in:
parent
3ae1bd3374
commit
b63f5de879
|
@ -59,7 +59,8 @@ public class TextViewAutoCompleteAction extends AppCompatAutoCompleteTextView {
|
|||
TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.TextViewAutoCompleteAction, 0, 0);
|
||||
drawable = a.getDrawable(R.styleable.TextViewAutoCompleteAction_end_drawable);
|
||||
}
|
||||
drawable.setTint(getCurrentTextColor());
|
||||
int colorControlNormal = Helper.resolveColor(context, R.attr.colorControlNormal);
|
||||
drawable.setTint(colorControlNormal);
|
||||
drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight());
|
||||
|
||||
setOnTouchListener(new OnTouchListener() {
|
||||
|
|
Loading…
Reference in New Issue