开发者

Android - Resize content when softkeyoard shows in a Dialog subclass

开发者 https://www.devze.com 2023-02-21 01:32 出处:网络
I have a Dialog subclass which I used for form-styled input (i.e. lots of text fields and buttons).This is backed by a Scrollview, however when the keyboard shows - the scrollview doesn\'t resize with

I have a Dialog subclass which I used for form-styled input (i.e. lots of text fields and buttons). This is backed by a Scrollview, however when the keyboard shows - the scrollview doesn't resize with it. I see on an Activity, you can set android:windowSoftInputMode in the manififest, but how can this work for dialog subclasses? Do I need to manually resize the scrollview when the keyboard appears/disap开发者_如何学Pythonpears?

Thanks,

0

精彩评论

暂无评论...
验证码 换一张
取 消