What is getCompoundDrawables() in Android? -
how getcompounddrawables()
used in android:
if(medittext.getcompounddrawables()[2] == null) medittext.setcompounddrawableswithintrinsicbounds(0, 0, r.drawable.ic_face, 0);
i wanted check whether there drawable in edittext
@ end of it. if condition giving correct result?
yes correct way find out whether compound drawable set or not.
Comments
Post a Comment