Alex B wrote: > The reason for this is that I want to show or hide particular UI > elements based on whether the keyboard is showing or not. > > I understand that one way (perhaps the superior way) is to have > independent res/layout xml files; however I would still like to be > able to control certain elements based on the "orien" value. Is there > an input configuration change listener? How have you determined this > input configuration state?
http://androidguys.com/?s=rotational+forces&x=13&y=8 While these blog posts focus on the "independent res/layout xml files" scenario, the same events can be used to determine how else to manage your UI modifications upon an orientation change. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---