On Fri, Oct 14, 2011 at 8:07 PM, TreKing wrote:
> On Fri, Oct 14, 2011 at 4:40 AM, nikki wrote:
>
>> My confusion shall I handle onConfigurationChange for orientation which
>> will stop android to create a new activity or i should not handle
>> onConfigurationChange and let android do the life cy
There has been a decent amount of conversation on this subject and there's
no "right" answer. Regardless of which way you pick, make sure you
understand the pros and cons.
If you let Android do the work for you, make sure you understand that your
application can be killed off and restarted at a
On Fri, Oct 14, 2011 at 4:40 AM, nikki wrote:
> My confusion shall I handle onConfigurationChange for orientation which
> will stop android to create a new activity or i should not handle
> onConfigurationChange and let android do the life cycle process complete.
>
In general, the latter, unless
Thanks Flo for quick reply.
In my case the landscape layout files have no changes they are as same
as portrait, that's why i haven't created a separate landscape folder
for layout(layout_land). So on change of orientation the android will
pick the file from layout folder only.
My confusion shall
Let Android handle it.
Just create a second layout folder called "layout-land" and put all
your landscape layouts in. The layouts must have the same file name
like the layouts in the normal "layout" folder for portrait mode.
Android will pick the right folder to get the layout from. On
landscape m
5 matches
Mail list logo