• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to hide the keyboard in android when click the edit text in dialog box

 
Sarra Sakka
Ranch Hand
Posts: 283
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i hide the keyboard in android when click outside of the edit text in dialog box?
thank you in advance
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Play around with
 
Sarra Sakka
Ranch Hand
Posts: 283
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the definition of im is as the followings ?
 
Sarra Sakka
Ranch Hand
Posts: 283
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do this in my code and the keyboard still display after i click outside my edit text
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When is this code executed? Is "focus" non-null?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic