Android Question Activity name

aedwall

Active Member
Licensed User
Longtime User
I see this (I am trying to show the soft keyboard upon my txtCity EditText control getting the focus):

SetActivityAttribute(<activity name>, android:windowSoftInputMode, stateVisible)

What do I use for "<activity name>"?

Is it the name of the control? Like txtCity for my EditText control.

My project is called Atlas and my EditText control is called txtCity.

UPDATE: I used the word "Main" without the quotes to get it to work.

Now, how do I get the keyboard to hide itself?

Answer: I inserted this command - IME1.HideKeyboard
 
Last edited:
Top