Hi to all,
I'm developing a simple widget for which I want to leave only portrait
mode. So is there any way to block lanscape mode like we can do it for
Activities?
Thanks in advance,
Alexey
--
You received this message because you are subscribed to the Google
Groups "Android Developers" g
On Fri, Jun 10, 2011 at 8:18 AM, Alexey Onuchin wrote:
> I'm developing a simple widget for which I want to leave only portrait
> mode. So is there any way to block lanscape mode like we can do it for
> Activities?
No, sorry.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github
I'm not sorry! I am glad this is not possible... I would be pissed if ONE out
of a possible 80 widgets locked my homescreen into a specific display mode.
Maybe I'm being harsh but come on, if you're going to do something, think
first! This request is right up there with those people who want to
Hi Alexy,
Set this android tag in your activity tag in which you are displaying your
view.
*android:screenOrientation="portrait"*.
On Fri, Jun 10, 2011 at 5:18 AM, Alexey Onuchin wrote:
> Hi to all,
>
> I'm developing a simple widget for which I want to leave only portrait
> mode. So is there a
Widgets run within the launcher.
The launcher's activity is not controlled by the application that provides
the widget, so setting screenOrientation is not an option (unless we're
talking about writing a launcher).
However, one can use regular resource qualifiers - res/layout-port and/or
layout-
5 matches
Mail list logo