Problem with EditText background (android)

后端 未结 8 1477
执笔经年
执笔经年 2020-12-09 00:14

I have a problem with EditText background like this



        
相关标签:
8条回答
  • 2020-12-09 00:42

    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.

    0 讨论(0)
  • 2020-12-09 00:43

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

    0 讨论(0)
提交回复
热议问题