Skip to content
Advertisement

Transparent EditText Android Studio

I am trying to make my EditText in my android studio project transparent. I want it to look like the EditText here

But mine doesn’t look like that even though I have tried using transparent and ffffff can someone please help me with this ? I want my edit text background to look like the one in the image I showed.

Advertisement

Answer

JavaScript

edittext_bg.xml in drawables folder:

JavaScript

Change color value of <solid android:color="#80ffffff" /> to adjust transparency.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement