Adding buttons to the CameraPreview Demo?

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Adding buttons to the CameraPreview Demo?

Postby howardlee » Wed Jul 16, 2008 10:37 pm

Hello, I am new to android and hope someone can help me.

I can run the CameraPreview demo and see that the camera portion only takes the first half of the screen.
What I would like to do is add buttons to the bottom half of the screen, so that the user can just press the button to snap a pic, change settings, etc.

I've played with the different layouts and know how to add buttons, checkbox, radiobuttons on them, but what I'm having trouble with is the CameraPreview demo does not use the xml files where I've usually added these widgets.
Instead it creates a SurfacesView and sets the content to this.

Can anyone help?
howardlee
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Jul 16, 2008 10:20 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 6 guests