-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

I have a regular list with a list of names. When I pick one name, I
need to show it on the screen with the largest font size (they are
supposed to be made available for reading by the phone owner to other
people). On this purpose, I activate a new Activity that declares
android:screenOrientation="landscape" so it can take advantage of the
wider screen available. The Activity has also the FullScreen style.

It works, but for a couple of rendering details. First, the "slide in
screen" effect that I've configured on my Droid doesn't work - the
activity is rendered without any effect. Second, for a glimpse there
are foreign contents on the screen (they are parts of the last
notification screen that I opened). I presume it's a problem of the
frame buffer off-screen contents being not properly managed. If the
problem is not clear, I can later post a link to a short video.

If I start with the regular list already in landscape mode (because I
rotated the phone) everything works fine. The problem seems to be
transitioning from an activity in portrait mode directly to an
activity in landscape mode.
I guess I've hit a known bug...

I was thinking of trying the following thing:

1. Drop the android:screenOrientation="landscape" setting in the
AndroidManifest.xml
2. Keep the widgets on the Activity initially not visible, so a blank
activity slides in.
3. After a short delay, programmatically switching to landscape mode
and set the widgets visible
4. When quitting the activity, run the reverse steps (setting the
widgets to not visible, programmatically switching to portrait mode,
waiting for a short delay, finishing).

Thoughts? Better workarounds? Thanks.

- -- 
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
java.net/blog/fabriziogiudici - www.tidalwave.it/people
[email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxtR6wACgkQeDweFqgUGxcFbwCfTiiS0KpTECkLB5ZOuypNGSRe
rDwAn3PSPJE0+EhBLDoKhDa4qvCGXgiD
=YQq2
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to