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 - Touching and sliding on images - GridView

Touching and sliding on images - GridView

Put your problem here if it does not fit any of the other categories.

Touching and sliding on images - GridView

Postby Damascus » Wed May 06, 2009 11:17 pm

Hello everybody,

I began developing my first Android application for a little time and I have a little problem:

In my application sometimes I've an Image array displayed in a GridViewLayout, filled by Images(I'm still hesitating between Images or ImageButtons inside...) and I've to draw a line, cell by cell. However I achieved it only with a clicking mode, ie I click on every cell independantly and they are in the highlighted mode(means the cell is red), with one OnClickListener per image.

I want to do it without releasing my finger(or at the moment my mouse ^^) of the screen. Drawing immediatly a line and the cells are highlighting while I'm doing my path...

I still don't know what to use here. I'm trying onTouchListener but it does the same than onClick, and I'm looking into onFocusChangeListener but it seems that focus isn't active in touch mode...

Anyone has an idea of how doin' it?

thanks :)
Damascus
Freshman
Freshman
 
Posts: 5
Joined: Wed May 06, 2009 11:09 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 20 guests