Android Question No Title bar when doing a screenshot

udg

Expert
Licensed User
Longtime User
Hi all,

I'm using agraham's well known code to take a screenshot of my running app.
I used it before and title bar was part of the captured area, but today it's missing from the saved picture.
Honestly, I'm not totaly sure that old capture was done using that code.. anyway, what should I do to have the whole screen area (or even title bar+activity area) captured to a file?

TIA

udg
 

udg

Expert
Licensed User
Longtime User
Hi Erel,

as said I can't recall how once I managed to have both app title and activity area on an screenshot.
Anyway, should I consider the title bar as a remnant from the past and avoid it in favor of the Action bar?
I understand they're very different in scope but if AB is the preferred new course.. after all I even developed my own AB-like component (dgActionBar), so why stay anchored to the old title bar!

A second question: what is field "vg" in agraham's code and where am I supposed to find any doc about BA internals?

Thanks,

Umberto
 
Upvote 0

udg

Expert
Licensed User
Longtime User
I see.
Top bar = the place where I see notifications, time, wi-fi/gsm on/off.. ok
Title bar/Action bar = place where app's icon and title (and with Ab a lot more) appear

I've to investigate more to understand why the title is out of the screenshot.

Thanks.
 
Upvote 0
Top