I believe you add a folder into your res called layout-land and
include your layout as you wish the landscape to be.
hope that helps!

On Jun 19, 9:35 am, "Blake B." <bbuckle...@yahoo.com> wrote:
> Hi,
>     Maybe I'm missing something obvious, but how do you handle
> orientation changes for a Cupcake desktop widget?
>     When it is initially created, the onUpdate() method of my
> AppWidgetProvider calls views.setOnClickPendingIntent(buttonID,
> pendingIntent) to register for my button events, but when the
> orientation changes, new buttons are created and I don't have an
> opportunity to re-register the "onClick" listeners. What is the proper
> way to do this?
>
> Thanks,
> Blake

--~--~---------~--~----~------------~-------~--~----~
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