Set the option to Expand programmatically

Is there a way to programmatically change the value of the ActivitySoftInputMode window? I want to customize it to adjust the Resize in one view and not resize in the other view (both views in the same activity)

+3
android


source to share


1 answer


Try the following:



getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);

      

+14


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics