I am trying to design an EditText Field having Shadows (bottom and right side) like this
Well.. @Shalini's answer helped me in this way but still I got another way to achieve 2D shadow with EditText Field and I am going to share with you.
We need to create custom XML view with three layer for EditText, bottom shadow and right side shadow
Below is my code.
-
-
-
Now we can set this shadow view to our TextField using "Background" property
like this
and the result screen is like I have posted in question above.
Thanks to SO, sharing knowledge.