Transparent color for EditText


Last Updated:

  1. purnachandrarao

    purnachandrarao Member This Topic's Starter

    Joined:
    Jul 20, 2010
    Messages:
    8
    Likes Received:
    0
    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

Share This Page

Loading...