On Fri, Oct 14, 2011 at 8:07 PM, TreKing treking...@gmail.com wrote:
On Fri, Oct 14, 2011 at 4:40 AM, nikki nikhileshsingh...@gmail.comwrote:
My confusion shall I handle onConfigurationChange for orientation which
will stop android to create a new activity or i should not handle
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 mode
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
On Fri, Oct 14, 2011 at 4:40 AM, nikki nikhileshsingh...@gmail.com 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
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
5 matches
Mail list logo