键盘可以有完成和取消按钮吗?
我正在尝试创建一个密码页面,类似于您在 Windows Phone 设置中单击“锁定+壁纸”时打开的密码页面。
我怎么找不到带有“完成”和“取消”的键盘,当您切换密码开关时,“完成”和“取消”按钮以及数字键盘在“锁定+壁纸”页面中可见。
我怎样才能得到一个类似的东西?作为替代方案,我尝试创建完成和取消按钮,但问题是,键盘与这些按钮重叠,就像在锁定+壁纸页面中一样,键盘保持不变并且不与按钮重叠。这应该意味着按钮沿着用键盘对吗?
有人能帮我解决这个问题吗?
Im trying to create a password page similar to the one that opens up when you click Lock+wallpaper in the settings of the Windows Phone.
How ever I could not find a keyboard with the done and cancel, a done and cancel buttons along with the numeric keyboard is visible in the lock+wallpaper page when you toggle the password switch.
How do I get one similar to that? As as alternative I tried to create done and cancel buttons, but the problem is, the keyboard overlaps these buttons where as in the lock+wallpaper page, the keyboard stays and does not overlap the button.This should mean that the buttons are present along with the keyboard right?
Could anyone help me on this one?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有 InputScope 可以向 SIP 添加“完成”或“取消”按钮。
相反,您应该使用 ApplicationBar 并为每个功能添加按钮。或者,您可以使用勾号图像或保存图标表示“完成”,使用叉号表示“取消”。
如果您确实不需要取消按钮,请小心不要添加取消按钮,因为硬件后退按钮就足够了。
There is no InputScope which add "done" or "cancel" buttons to the SIP.
Instead you should look to use the ApplicationBar and add buttons for each of these functions. FOr doen you could use an image of a tick or a save icon for "done" and a cross for "cancel".
Be careful not to add a Cancel button if you really don't need one as the hardware back button would suffice instead.