I have a CompositeComponent (EditText+ImageButton) When clicking on button the edittext content will be cleared. It is working fine. My problem is setting attributes to my c
use this in your attr.xml for the suggestions . the use of flags give the suggestions in xml while using edittext. the custom:inputType="text" and it will suggest you the addition types. to add more flags use this link Visit https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/res/res/values/attrs.xml