Android Custom EditText is resized by keyboard open and close?

You would probably have to provide images for the various states defining them in an xml resource. People do this a lot for buttons.

I implemented a custom background for my EditText fields because I think the defaults for the EditTexts are too tall & have too much padding. Anyway, the new EditText drawable backgrounds are displaying fine, BUT the fields shrink slightly when I open the keyboard and expand to their original (custom) size when I close the keyboard. This behavior must be overridable in some way that I just haven't stumbled across.

Can anyone help, please? I've read the IMEOptions article at the dev android site and nothing there really jumps out at me at as a possible solution to this problem. I've tried adjustResize and adjustPan for the android:windowSoftInputMode setting of the activity that the EditText is used in and neither have worked.

Thanks again for any advice on this!

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions