Action Item shown only in Landscape?
Posted
by
roboguy12
on Stack Overflow
See other posts from Stack Overflow
or by roboguy12
Published on 2012-04-03T23:25:13Z
Indexed on
2012/04/03
23:29 UTC
Read the original article
Hit count: 413
I was just wondering if it were at all possible for an Action Bar icon to only be shown when the device is in landscape mode? In portrait I have an onscreen button for a certain task, but in order to take advantage of all of the screen-space in landscape, that button won't fit. So I was wondering if I could put it in the Action Bar, but it would only be necessary when the device is in landscape.
Thanks!
© Stack Overflow or respective owner