onconfigurationchanged
onConfigurationChange() is not called
I found that in my app , onConfigurationChange() is not call. In manifest I put : android:configChanges=\"keyboardHidden\"[详细]
2023-04-02 03:42 分类:问答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 launches camera for result, and when it returns it changes the imageview to the picture you\'ve jus[详细]
2023-03-28 10:21 分类:问答How to respond for onConfigChanges in one of my tabs?
I have tab layout in portrait mode. Now I have to respond for onConfigChanges happened in one of my tabs. Following research on google I made this code:[详细]
2023-03-23 13:28 分类:问答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|orientation\" on the activity.[详细]
2023-02-25 04:25 分类:问答Android - detect orientation change, but have interface not respond
Is it possible in Android to capture screen rotate events but not actually have the activity respond to the rotate events?[详细]
2023-02-24 12:13 分类:问答layout-land xml files does not work with onConfigurationChanged call back
I have different layouts for portrait and landscape mode and I also need to override the开发者_如何学JAVAonConfigurationChanged() callback. But problem is when I change the phone orientation to landsc[详细]
2023-02-17 04:14 分类:问答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 is getting resized and the virtual keyboard is displaying at the bottom of the window. Bu[详细]
2023-02-14 09:06 分类:问答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 in the EditText remains, but TextView data is cleared.[详细]
2023-02-14 08:45 分类:问答handeling orientation change in android
I wanted to have a differnet look to one of my activities when the orientation changes. I created the layout-land folder and added activity1.xml there but when I switch the orientation I still get the[详细]
2023-02-13 04:31 分类:问答Fixed orientation Activity lifecycle on a slide out keypad phone
I have an Activity with a fixed orientation, android:screenOrientation=\"portrait\" in my manifest.I noticed that when pressing Cntl-F11 on the emulator and when a user slides out the keyboard on a de[详细]
2023-02-10 18:59 分类:问答