Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

test: Reply
 
LinkBack Thread Tools
Old 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
Question 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

Advertisements
leonmcd34 is offline  
Reply With Quote
sponsored links
Reply
Tags
layout, resource, setcontentview, source not found


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:51 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.