Skip to content Skip to sidebar Skip to footer

Radiogroup Behavior On Orientation Change

I am hoping that someone can help me understand what's going on with respect to an Android radiogroup and the onCheckedChanged callbacks when the orientation changes. I have a radi

Solution 1:

Make changes to the xml file like :

<activityandroid:name=".YourActivityName"android:configChanges="orientation|screenSize" />

Solution 2:

open your manifest.xml file and modify in Activity<> tag :

<activityandroid:configChanges="keyboardHidden|orientation"></activity>

after this check your result : :)

Post a Comment for "Radiogroup Behavior On Orientation Change"