i put a drawable in a EditText with this code:
final Drawable x = getResources().getDrawable(R.drawable.del2);
x.setBounds(0, 0, x.getIntrinsicWidth(), x.getIntrinsicHeight());
atxt.setCompoundDrawables(null, null, x, null);
when i want to put another one, The first drawable disappear !! i want to put two drawable but apparently this is not possible! is there anyway?
Try using
atxt.setCompoundDrawablesWithIntrinsicBounds (x, null, x, null);instead