Top "Onconfigurationchanged" questions

Restoring state of TextView after screen rotation?

In my app I have TextView and EditText. Both have data in it. When the screen orientation changes the data …

android android-layout android-orientation onconfigurationchanged
Prevent dialog dismissal on screen rotation in Android

I am trying to prevent dialogs built with Alert builder from being dismissed when the Activity is restarted. If I …

android dialog android-edittext onconfigurationchanged
android : How to prevent resizing the window when displaying the virtual keyboard

I am using a tabbed application. There is an EditText my application. When I click on the EditText, the window …

android keyboard onconfigurationchanged
Using onConfigurationChanged in a fragment

I have this code in a fragment public class TestOne extends Fragment { View view = null; @Override public void onConfigurationChanged(Configuration …

android android-fragments screen-rotation onconfigurationchanged
Android: Stop Recreating the activity on orientation change

I have a listview with two buttons in my main.xml layout. On click of one button i'am creating a …

android android-activity oncreate onconfigurationchanged
View layout doesn't refresh on orientation change in android

I'd like my VIEW layout to be adjusted on orientation change. My Manifest is set up with: android:configChanges="keyboardHidden|…

android view rotation orientation onconfigurationchanged
How to get NEW width/height of root layout in onConfigurationChanged?

One of our views has a ScrollView as its root layout. When the device is rotated and onConfigurationChanged() is called, …

android orientation scrollview onconfigurationchanged
Android Layout land not working

I've been looking at issues in stackoverflow and I've tried everything I've seen but the layout-land not work. In my …

android layout onconfigurationchanged android-configchanges
My views are being reset on orientation change

I have a small activity with an EditText and an imageview and a button. When you press the button it …

android android-layout android-edittext android-orientation onconfigurationchanged
Handling activity rotating in Android

I need to apply different layouts for portrait and landscape orientations of my activity. Besides, I need to show alert …

android android-activity orientation onconfigurationchanged