views:

126

answers:

0

Hi,

I am trying to essentially reproduce the default sliding home app screens, using a fullscreen gallery to hold multiple fullscreen gridviews - one for each 'screen'.

This seems great in theory, except that you cannot drag the gallery, once focused on a gridview. I would think that touching open areas of the gridview (i.e. padded or margin areas) would allow you to scroll the gallery. You can, however, use the trackball to navigate the gallery, but not the individual gridviews.

I want it to operate exactly like the homescreen app:

Using the touch screen, if you are touching and dragging open areas of the fullscreen gridview, it should slide the gallery. Otherwise, if you are touching an icon in the gridview, it should take appropriate action.

Using the trackball, it should be similar to how the home screen works - scroll through icons of the gridviews , unless you are at the sides of the screen, in which case, it should scroll the gallery to the next/previous 'screen'. (I realize this part may take some custom coding)

Is there settings I am missing to control this, or would I have to override gridview/gallery ontouch events to force the actions I am looking for? I am aware of settings like setDescendantFocusability and setFocusableInTouchMode, but not sure exactly how they work, or if it will do what I want.

Thanks!