• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Can't make drawable xml

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?
 
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.
 
Back
Top Bottom