简体   繁体   English

硬体键盘

[英]Hardware Keyboard

My application makes heavy use of ListViews. 我的应用程序大量使用ListViews。 I find that Landscape mode significantly hinders the functionality of it. 我发现横向模式严重阻碍了它的功能。 I was thinking I would lock the orientation to portrait mode. 我当时想将方向锁定为纵向模式。 However, I have 2 text inputs (launched in alert dialogs) to consider. 但是,我要考虑2个文本输入(在警报对话框中启动)。 Neither inputs will be accessed every time the app is used, typical usage would probably be about 30% of the time. 每次使用该应用程序时都不会访问任何输入,典型使用率可能约为30%。

The first text input will typically be 6-12 characters. 输入的第一个文本通常为6到12个字符。 Even if you have a hard keyboard, it might not be worth it to use it here. 即使您有硬键盘,在这里使用它可能也不值得。 I thought I might even automatically pop up the soft keyboard to save the user a click. 我以为我什至可以自动弹出软键盘来保存用户点击。

The second text input is up to 255 characters, something that if you have a hardware keyboard, you might use. 第二个文本输入最多255个字符,如果您有硬件键盘,则可以使用。 But if the orientation is locked to portrait and you have a side sliding keyboard, it'll be awkward. 但是,如果将方向锁定为纵向,并且您有侧面滑动键盘,则会很尴尬。

Any ideas on how to handle this for maximum functionality? 关于如何处理此问题以获取最大功能的任何想法?

It's a design call. 这是一个设计电话。

Just weight pros and cons and make a choice, i would go for the lock and using a virtual keyboard. 权衡利弊并做出选择,我会锁定并使用虚拟键盘。 I think is where it's all heading and that they have nothing to envy to a good old hardware keyboard, but some people still loves them, although the lists get all fuzzy and the UI gets awkward. 我认为一切都在这里,他们没有什么可羡慕的是老式的好硬件键盘,但是有些人仍然喜欢它们,尽管列表变得模糊不清,UI变得笨拙。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM