Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Adding buttons to the CameraPreview Demo?

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 5 guests