开发者

wp7 keyboard - collapse button

开发者 https://www.devze.com 2023-01-29 00:02 出处:网络
I understand the Metro theme and have read the UI design guide from Microsoft regarding WP7 applications.I am really missing a button on the SIP for collapsing the keyboard.On Android phones, this b开

I understand the Metro theme and have read the UI design guide from Microsoft regarding WP7 applications. I am really missing a button on the SIP for collapsing the keyboard. On Android phones, this b开发者_StackOverflowutton is available on the SIP. Pressing the back button on the phone while you are in the textboxes hides the keyboard, but that is not obvious. Any InputScope for which this kind of button shows up?

Scenarios like when you are connecting with Twitter or Facebook and performing OAuth, web browser shows the login screens from the provider and we have not control over where the textboxes for accepting credentials should be displayed. Without a collapse button on the SIP, the user will have to tap out of the textboxes to get to the Login screen from those provider authentication pages.

Pratik


like you said, The Back physical button on the phone always closes the SIP, without navigating. People will start to learn it and it will be second nature, and then a button that closes the SIP is just a waste of space.


Set InputScope to Search to add an Enter button.

Do this is in the Key Up to close the SIP:

    private void TextControl_KeyUp(object sender, KeyEventArgs e)
    {
        if (e.Key == Key.Enter)
        {
            Focus();
        }
    }


You can get a list of the available InputScope types from MSDN. Sadly, I am pretty sure that none of them have the collapse button you are referring to.

The only work around I know of is to use the back button. It is not ideal at all, but maybe something better will come around in a future update.


There is no InputScope which provides a dedicated button for this purpose. It would not hurt to comment in their suggestion forum or on connect though.


You can tap on the screen to scroll, or in an empty space usually to get the SIP to go away. There is no button to do it. I agree one should be present.


I feared that there is no InputScope that does that. John, when designing our pages - we can certainly abide by the UI guidelines but for certain scenarios, it is really necessary and useful at the same time - try performing an OAuth operation with Facebook and Twitter and you will see what is happening and how a collapse SIP button could help.

Mick, I will post the suggestion on connect.

Pratik


Users just need to hit the back button to make the keyboard go away. Once people learn that behavior having a dedicated button for that behavior would just be a waste of space.

0

精彩评论

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