So far I've used the following code to add the icon
EditText email = (EditText) findViewById(R.id.email);
Typeface font = Typeface.createFromAsset( getAssets(), "fontawesome-webfont.ttf" );
email.setTypeface(font);
But the icon gets added as a value of the edittext field. Whereas I want the icon to appear at the left. I also know about the android:drawableLeft attribute but it requires I drawable resource i.e a jpeg and not a ttf. How can I solve this problem. Thanks