views:

1315

answers:

3
+1  A: 

As I think you should change background Color, not the background. Because it's using xml custom shape.

A drawable to use as the background. This can be either a reference to a full drawable resource (such as a PNG image, 9-patch, XML state list description, etc), or a solid color such as "#ff000000" (black).

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".
Shtirlic
The syntax he's using for background color is valid
DroidIn.net
okay about syntax, i think that he overrides default background xml shape with shadows etc and sets it to solid color.
Shtirlic
Hey - just for a record - it's not my (-1) :)
DroidIn.net
A: 

If you set your EditText background to a color you will effectively suppress Android's default background which is probably a Nine Patch but definetely not just a simple color. As result - you will get a simplest form of EditText - a square box. Here's slightly outdated list of built-in drawables to give you some idea

DroidIn.net
A: 

Check out http://www.androidworks.com/changing-the-android-edittext-ui-widget if you want to style your EditText's.

Thomas Ahle