Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EditText background color samsung devices

Tags:

android

Hey I am having an issue where on stock android my edittext views have the transparent background with the underline but on samsung devices it is a solid black background which looks really bad with black text. I want to stop samsung from setting the background to black.

I have tried android:background="#00ffffff" but this removes the background from stock android which i want to keep.

like image 895
user1634451 Avatar asked Nov 10 '22 19:11

user1634451


1 Answers

I'm quite late but incase someone still having same issue.Samsung set background as black when not defined any color as background.

Solution : So you have to set background color as transparent.

<solid android:color="@color/transparent" > </solid>
like image 162
Ali Ahsan Avatar answered Nov 14 '22 23:11

Ali Ahsan