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 - help detecting click on my widget

help detecting click on my widget

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

help detecting click on my widget

Postby moran679 » Sun May 09, 2010 9:03 am

Hi, I've created a widget that has some text on it and I can't seem to find how to detect a click on the widget itself (and start a new activity when clicked).

I managed to get a button on that widget that does stuff when clicked, but it messes up my whole widget!
Can I do that without a button (or make the button invisible so the text would stay in the same place)?

I tried to implement the same method I used for the button on a LinearLayout, but it doesn't react when I click on it, strangely.
moran679
Freshman
Freshman
 
Posts: 3
Joined: Sun May 09, 2010 8:55 am

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 3 guests