Author Topic: UIInput Keyboard Android  (Read 3537 times)

Fbary

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 25
    • View Profile
UIInput Keyboard Android
« on: December 19, 2012, 11:19:12 AM »
I tried to use the search tool, but i dind't find what I needed, so I opened this thread.

I use an UIInput on my mobile device, and it works perfectly, I just want to know where exactly ngui script tells to the Adnroid keyboard what to do when showed. In my case when I touch the input label the keyboard popup and "scale" all the scene and the panel. When the keyboard is showed it uses about half screen, so the application want to show me all the scene in the other half screen, scaling it. I'd Just want to show the keyboard over my panel, covering it, i don't care. I created a background wich fits exactly with the screen proportions and when it shows the keyboard, all the background is scaled, so i can see the "scene background", and i don't want it :/

Thank you in advance for your answers =)


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIInput Keyboard Android
« Reply #1 on: December 19, 2012, 11:39:22 AM »
Scaling happens by Unity automatically, but the showing/hiding of the keyboard happens in UIInput's OnSelect function.

Fbary

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 25
    • View Profile
Re: UIInput Keyboard Android
« Reply #2 on: December 19, 2012, 11:58:31 AM »
Thank you, I'll find a way to resolve it =)