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] Necronet.info | LinkedIn<http://www.linkedin.com/pub/jose-luis-ayerdis-espinoza/28/7b4/704>| Careers StackOverflow <http://careers.stackoverflow.com/necronet> 2012/9/7 sparky <[email protected]> > 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 <[email protected]> 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

