Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (android)
Viewing all articles
Browse latest Browse all 7655

Globally hide keyboard

$
0
0

Hi, been trying to find out how to either:

a) Globally hide the numeric keypad (so that, if a user decided to tap a tabbedbar at the top of a window whilst completing a textfield, I can hide the keyboard and slide the window they've requested by tapping that bar)

b) Do some sort of component search from the app.js or main app window, so that I can reference a child component and fire a blur() on it.

I've done a dig around Google and had a look through here, but all the questions are from a same-place perspective, in that, people just didn't know how to hide the keypad from the window they were using.

My problem is that I have a window with a tabbed bar, and two views. Each view is tied to an index in the tabbed bar, and each view contains text fields. I wish for the tapping of the tabbed bar to cause a universal blur() to occur (or some other method which achieves the keyboard disappearance, I'm not precious about it) so that I can happily slide in the selected view without having a keyboard already on top of it.

Many thanks for your time.

Tony


Viewing all articles
Browse latest Browse all 7655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>