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 - Create an image overlay an input view?

Create an image overlay an input view?

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

Create an image overlay an input view?

Postby yinglcs » Tue May 19, 2009 7:45 pm

Hi,

I need to create a function which input is a reference is a view,
and the function basically creates a new View which overlay an image on top of the input view?

What is the best way to achieve that?
I am thinking of create a new ViewGroup (as my output), add the input view as a child to that ViewGroup. But how can I overlay an Image on top of the input view in the ViewGroup?

Thank you.
yinglcs
Junior Developer
Junior Developer
 
Posts: 10
Joined: Fri Nov 14, 2008 6:19 am

Top

Postby SlumberMachine » Wed May 20, 2009 9:50 am

I have no idea how to place a widget on top of another widget(or view for that matter), but I do know that you can add a "drawing" to the textview which can be made editable as an input field. But I'm not sure if you could overlay it, it may just sit on the side, top, or bottom. But it may be something for you to look into...
SlumberMachine
Developer
Developer
 
Posts: 39
Joined: Tue Feb 24, 2009 9:00 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 3 guests