Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 android 开发新手,正在修改 SoftKeyboard 示例,使其成为可滚动键盘。例如,在电话屏幕上,我可以滚动键盘以获取特殊字符,而不是按模式更改按钮。如何通过修改此示例使视图可滚动?
要自定义视图,请使用滑动抽屉以从底部滑动键盘。将您为键盘设计的所有布局放在滚动视图下。以便人们可以滑动以获取键入字符下方的功能。