June 3rd, 2009, 04:25 PM
|
#1 (permalink)
|
|
New Member
Thread Author (OP)
Join Date: May 2009
Posts: 1
Device(s):
Carrier: Not Provided
Thanks: 0
Thanked 0 Times in 0 Posts
|
Create from a resource and then try to add or clear anything
I like to use a resource to layout my basic screen then add or change things from code. I'm getting a “Source not found” error.
I found the following on the web...
If you create from a resource and then try to add or clear anything, you’ll get a “Source not found” error.
Does this mean that I should just skip the resource route and just code everything?
I'd also like to use a resource to create the layout then draw on it. Is that possible?
Is is possible to load R.layout.main into a local layout variable (layoutX) then modify layoutX before I setContentView(layoutX)
Obviously new to Android/Java. Thanks for the help!
Leon
|
|
|