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
[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 - Drawing ViewGroup content on a SurfaceView/SurfaceHolder Can

Drawing ViewGroup content on a SurfaceView/SurfaceHolder Can

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

Drawing ViewGroup content on a SurfaceView/SurfaceHolder Can

Postby ztsyed » Sun Mar 15, 2009 9:36 pm

Hi,

Wanted to know if its possible to draw ViewGroup contents on SurfaceView/SurfaceHolder canvas? I'm trying to achieve fast 2D animation (using SurfaceView) alongside Android UI components on the screen.

Since SurfaceView punches a hole in the app window, I tried creating SurfaceView, and inside there I created LinearLayout and added couple of controls (Button and ImageView). Now I tried calling mLayout.draw (canvas) from SurfaceHolder canvas, it doesn't render anything. Am i missing something here?

I wonder if that would yield better performance then calling invalidate from Activity.runOnUiThread().

Please advice.

Thanks,
ztsyed
Freshman
Freshman
 
Posts: 2
Joined: Fri Feb 27, 2009 11:53 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 4 guests