Closed abdelhameedo closed 3 years ago
Handle the rotation by android:configChanges
isn't recommended for most use cases.
Alternatively, you can detect the screen orientation changes from context.getResources().getConfiguration().orientation
. And you can also use my ScreenOrientationHelper library for this situation.
I will close this issue because there's no response for a month.
But feel free to re-open it if anyone has issue-related problem.
I added
android:configChanges="fontScale|keyboardHidden|orientation|screenSize"
to my Activity definition in the manifest to handle the rotation my self .But when I extended LocalizationActivity the value of
newConfig.orientation
Doesn't change when I flip the device .Following is the POC I have made to demonstrate this issue
is there a workaround I can do to temporarily fix this ?