Transparent color for EditText


  1. Hi,
    I want to set a Transparent color for the EditText But it is not possible for my self.
    I tried to set Color of 0xFEAAAA to EditText then it will show an error on color.xml file.

    color name:trans
    value: #feaaaa

    2. setBackgroundResource(0xFEAAAA);

    3. in xml file we place 0xFEAAAA

    in these three ways I will be getting the error.
    so please guide me how to write transparent color for the EditText.
    please write sample code for that.

    Advertisement
Loading...

Share This Page