I'd like to know how to make the EditText background transparent, like this:
Itriedthefollowingways,butwithoutsuccess:
edt.xml
<?xmlversion="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<corners android:radius="5dp" />
<padding
android:bottom="4dp"
android:left="4dp"
android:right="4dp"
android:top="4dp" />
<solid android:color="@color/editText_alpha" />
</shape>
And I tried to set right on onCreate
:
mEmailView.setAlpha(0.7f);