Hi.
I have some things do draw on the screen.
So i use the main.xml file.
I start it with the command setContentView(R.layout.main) to draw the
screen.
But for some other code parts, i would need the drawString function.
I order to use it i need to use
setContentView(new SampleView(this));
to draw the screen.
My problem is now, that i canĀ“t combine setContentView(new SampleView
(this));  and setContentView(R.layout.main.
Is there an option to use both or do i have to use the one, or the
other?
Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to