There is a bunch of tutorials on the 'net for this, here is mine:

http://kmansoft.wordpress.com/2011/04/26/simple-animated-panels/

To add time-based behavior, consider using Handler and postDelayed / sendMessageDelayed.

-- Kostya

18.10.2011 21:34, Jean-Michel пишет:
Hi there,
room on screen being fairly "expensive" on small devices, I would like
to implement a button/tool bar that would automatically show and hide
from the side of the screen. When the user would tap anywhere on the
screen, the bar would unfold and would fold back if there is no user
input for a few seconds.
The optionsmenu does not work well for me as I need 7 to 9 items
visible at the first glance.

This button bar would contain buttons, but "menu-like-buttons" as well
(with an itent attached).

I have started to look into SliddingDrawer but I am not sure I can
have it completely invisible when folded.

If you have seen something that I can use as a base, many thanks for
the hint.

Thanks in advance,
JM


--
Kostya Vasilyev

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

Reply via email to