08-25-2012 04:21 PM
The ActionBar has some visibility options: HIDE, OVERLAY, DEFAULT
But one is missing: HIDE automatically if some time of inactivity
example: looking at an Image would be great to disappear the ActionBar and TitleBar and if user Touches on Screen, it reappears.
I have a Feature Request here:
please vote for it if it makes sense for you, too
after discussing possible workarounds with Animations or QTimer at IssueTracker, Twitter and BBM,
I wrote a small sample for you to copy/paste some code from or to get the idea:
(here's a video demoing what's the output:
Attention: there are 2 bugs related with this:
if changing the orientation on AlphaDevice twice withoput doing anything else, contetn will be scrambled:
workaround: tap anywhere on the screen before switching Orientation
TitleBar on Landscape is too small:
(Attention: as of writing this message this Issue isn't public yet - you have to wait for approvement by RIM)
have fun with my example HowTo hide ActionBar and TitleBar.
I have implemented it together with Orientation Support: only in Landscape Title and ActionBar will be hidden after 3000 ms
08-27-2012 02:48 PM
Thanks for your constructive post!
As you know, https://www.blackberry.com/jira/browse/BBTEN-196 has been addressed.
We will need to dig deeper for the other two and follow-up on the raised JIRAs.
10-31-2012 04:05 AM
Great suggestion, ekke.
I'm curious to know what is meant by "BBTEN-196 had been addressed". Should we be expecting this feature to be provided by RIM in a coming beta?
10-31-2012 04:31 AM
You can hide ActionBar using following code.
actionBarVisibility = ChromeVisibility.Hidden
For visibility of ActionBar you can use following code.
actionBarVisibility = ChromeVisibility.Visible
To implement this on ImageView you can add code on Imageview onTouch event.
Feel free to press like or accept as a solution.