broderickwang / droiddraw

Automatically exported from code.google.com/p/droiddraw
0 stars 0 forks source link

To load custom view created through onDraw to be loaded on Droiddraw editor? #254

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I have custom image drawn through onDraw and I have includedn my main.xml 
directory.Can I edit this by loading the resource directory to droiddraw?If so 
please tell me because loading resource directory from droid draw is not working

What is the expected output? What do you see instead?
Nothing

What version of the product are you using? On what operating system?
Latest r1b22

Please provide any additional information below.

Original issue reported on code.google.com by vys...@gmail.com on 7 Jul 2012 at 10:49

GoogleCodeExporter commented 9 years ago
You need to put it in /path/to/your/project/res/layout/main.xml

Then call setContentView(...) in your onCreate(...) method

--brendan

Original comment by brendan....@gmail.com on 11 Jul 2012 at 4:05

GoogleCodeExporter commented 9 years ago
Question is to have a custom view has an ondraw Image and I want it to be
loaded on DroidDraw editor!

Original comment by vys...@gmail.com on 11 Jul 2012 at 10:13