android - Mystery! One of my .xml layout resources is just not being detected! What's going on? -


update: solved, i'm idiot, thank everyone!

okay little bit weird.. created layout file list items, can see there now, in res/layout folder. it's called itemlistbudget.xml. inside i've declare 2 id's, catitem , budgetamount can see here: http://pastebin.com/zv0wr9l0 (it'll take second at)

so i'm trying bind data sqlite table list! here's method:

// private static int[] = { r.id.catitem, r.id.budgetamount, }; private void showbudgetoutcome(cursor cursor) {     //set data binding      simplecursoradapter adapter = new simplecursoradapter(             this, r.layout.itemlistbudget, cursor, from, to,);     setlistadapter(adapter);  } 

now i'm being told r.id.catitem cannot resolved. r.id.budgetamount cannot resolved , of course r.layout.itemlistbudget cannot resolved. why on earth be?

i have error message saying setlistadapter(adapter) undefined, think that's caused problem above right?

if in eclipse try clean on project , force rebuild r.java

your layout can't have capital letters in file name !!! [a-z0-9_.]


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -