• 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

überfuzz

Lurker
Jul 27, 2011
9
0
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?
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones