Gesture Listener
Joel Newkirk
freerunner at newkirk.us
Tue Sep 2 05:37:23 CEST 2008
Jim Colton wrote:
>
> So that the GUI applications work right, seems to me that they need to
> be built using "Layout managers", the top manager in the GUI being
> called with the new dimensions by this gesture listener... after the
> orientation has changed. Each manager calls doLayout() on each of
> it's children.
What do you think happens when a window is resized? ;) It's usually an
oversight if an app is written with the expectation of permanent
unchanging window dimensions. (even console-based Midnight Commander
redraws itself to fit if its containing console is resized, though
without the patch I'm polishing up it can't switch from horizontal to
vertical layout automatically, just reshapes itself to fit) Even
developing for a purely cellphone environment with modal apps you
shouldn't presume you'll always have the same dimensions - in three
months there might be an updated model with a higher resolution, for
example.
j
More information about the support
mailing list