1. Check out our companion app, Forums for Android! Download from Google Play

Transparent color for EditText

Discussion in 'Application Development' started by purnachandrarao, Sep 20, 2010.

  1. purnachandrarao

    Thread Starter
    25

    Jul 20, 2010
    8
    0
    25
    programmer
    india
    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...