Change configuration in list view

I have a list that has the following:

TextView Edit button Delete button and navigation button.

When the user clicks the Edit button, I load the Edit Text, Save and Cancel buttons using the ViewSwitcher. I also used android: windowSoftInputMode = "stateVisible | adjustResize" so that the view will change when the keyboard is visible.

The problem is when the user clicks on the edit text, the keyboard will show up, but the view will reload and the text view will show up.

Also, when the user scrolls down the list view in the middle of the page and changes orientation, the list view is loaded to the top.

I've tried using android: configChange with no result. How to handle this situation with savedInstance Or is there another way to solve this problem?

+3
android listview configuration


source to share


No one has answered this question yet

Check out similar questions:

1207
Strange memory issue when loading image into Bitmap object
366
Capital letter for EditText
293
How to get the absolute coordinates of a view
five
Why does android: windowSoftInputMode = "stateVisible | adjustResize" adjust the screen when the soft keyboard is displayed?
five
Layout should go up when soft keyboard appeared before view in Android
1
Xamarin - Android Scroll All Content on Keyboard Pop up
1
the keyboard appears and resizes the toolbar
1
Why does the bezel keep showing in view?
0
Prevent the keyboard from hiding the Dialog alert button
-1
text area overlapping text keyboard



All Articles
Loading...
X
Show
Funny
Dev
Pics