I have 2 layouts with the same name located at layout and layout-land folders. However the landscape version sometimes isn't applied though the orientation change is detected in onConfigurationChanged(Configuration newConfig)
. Strange thing is it happens only in specific cases.
My app workflow is : LoginActivity->TabActivity
The problematic activity is in one of the tabs. When I leave login in landscape it is allright and behaves correctly in all cases. When I leave login in portrait the activity in one of the tabs doesn't use the correct layout when I rotate the screen.
Any idea what's wrong ? I can post some code if needed.
问问题
246 次