1. Download our Official Android App: Forums for Android!

Apps Can't make drawable xml

Discussion in 'Android Development' started by überfuzz, Jul 28, 2011.

  1. überfuzz

    überfuzz Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    9
    Joined:
    Jul 27, 2011

    Jul 27, 2011
    9
    0
    5
    I read about gradient buttons rendered by xml. When I try to do it myself I get stuck.

    This is what I tried, setting up a resource xml:

    1. Make a folder called drawable like this res/drawable
    2. [New] -> [Other] -> [android/android XML file] and clicked Next
    3. Now doing name.xml, clicking drawable resource, clicking [Finish]
    I get no error message and the Finish button appears but noting happens when I click it.

    What am I doing wrong here?
     

    Advertisement

  2. dimiter

    dimiter Newbie
    Rank:
    None
    Points:
    16
    Posts:
    27
    Joined:
    Jul 27, 2011

    Jul 27, 2011
    27
    3
    16
    Moscow
    I some not understand yor problem (language trouble), but:
    1)Try add manually in xml-file (drop down and press name.xml for this).
    2)Try add more 1 drawable and remove.
     
  3. überfuzz

    überfuzz Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    9
    Joined:
    Jul 27, 2011

    Jul 27, 2011
    9
    0
    5
    Well, I think I understood your explanation anyway. I made a folder(drawable) and created a XML file in the new folder, not Android XML file.

    Thanks!
     

Share This Page

Loading...