Since I was using
EditText et=new EditText(this);
locationEditText.setBackgroundDrawable(et.getBackground());
but setBackgroundDrawable(Drwable)
is deprecated in Api 16 as can't use setBackground(Drwable)
since it was added in api 16 and I'm using earlier versions than that
So the only two functions left to me
are: setBackgroundColor(int color)
and setBackgroundResource(int resid)
So how to set it to the default EditText
in Holo Light Theme?