Sunday, September 9, 2012

Re: [android-developers] Re: Intercept layout android loading choice

Is a radomly pick to examine User behaviour in one layout and in other thanks for the answer! I finish doing it with setContentView 

Sincerly yours,

[Jose Luis Ayerdis Espinoza]


2012/9/7 sparky <sparkyr@google.com>
I think switching it in setContentView() is exactly right.  The main
question then is, how do you decide which user gets which layout, and
how do you make it consistent?  The latter, I would accomplish by
writing something into Shared Preferences.


On Sep 7, 2:16 pm, Jose Ayerdis <joseayer...@gmail.com> wrote:
> Is there a way that I can intercept when does android decided which layout
> to use, like for instance I want to have two different kind layouts tested
> on different set of users, but I would like some random users load the
> regular(even if they have hdpi devices) and others uses the hdpi.
>
> The only thing that comes to mind is override the setContentView.
>
> layout/mylayout.xml
> layout-hdpi/mylayout.xml
>
> Sincerly yours,
>
> [Jose Luis Ayerdis Espinoza]
> Necronet.info |
> LinkedIn<http://www.linkedin.com/pub/jose-luis-ayerdis-espinoza/28/7b4/704>|
> Careers
> StackOverflow <http://careers.stackoverflow.com/necronet>

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment