0

I am a newbie in android app. May I make fragment orientation change (dynamic UI) no use tag in xml file(layout)?

I found a lot of example where use tag in xml file(layout)

Thanks a lot.

Ben Weiss
  • 17,182
  • 6
  • 67
  • 87
Kyrmyzyanik
  • 132
  • 8
  • I'm not sure what your question is about but maybe this is what you're looking for: http://stackoverflow.com/questions/3611457/android-temporarily-disable-orientation-changes-in-an-activity – schlingel Sep 18 '13 at 11:31
  • yes you can rotate stuff programmatically aswell. – bofredo Sep 18 '13 at 15:09

1 Answers1

0

use http://developer.android.com/reference/android/app/Fragment.html#onConfigurationChanged(android.content.res.Configuration) here handle new Configuration, and if it is changed do you logic

Lebedevsd
  • 950
  • 5
  • 12