Author Topic: Disable UIInput Keyboard Screen Resizing  (Read 7606 times)

LightSky

  • Jr. Member
  • **
  • Thank You
  • -Given: 3
  • -Receive: 2
  • Posts: 56
    • View Profile
Disable UIInput Keyboard Screen Resizing
« on: February 12, 2013, 11:50:41 PM »
As the title says, is there a way to disable the UIInput keyboard (on mobile devices) from shrinking the screen when it appears?
The background texture encompasses the entire screen, but when the keyboard appears it zooms out and shows for an odd reason. I tested the old Examples of UIInput and they work fine, but am wondering if it was an issue with the newer builds or a problem I have or something with Unity.

Thanks :)


ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Disable UIInput Keyboard Screen Resizing
« Reply #1 on: February 13, 2013, 01:46:43 PM »
Sounds like the screen height changes on your android device.

You can set the UIRoot to be pixel-perfect and it will behave differently, but I'm not sure what else to suggest. The easiest thing to do would be to make the background color (which you have as grey right now) be something darker (such as black) so it's not as obvious.

LightSky

  • Jr. Member
  • **
  • Thank You
  • -Given: 3
  • -Receive: 2
  • Posts: 56
    • View Profile
Re: Disable UIInput Keyboard Screen Resizing
« Reply #2 on: May 08, 2013, 09:04:10 PM »
Heh, found the bug/problem.   If you have the Notification Bar on the top of your device enabled for mobile (only tested on Android), then it will cause this problem whenever you click on an Input that pops up your keyboard. 
Any idea what is causing this? Not sure if it is a NGUI or Unity problem.  :-\   I would like to have the notification bar enabled without this happening.

flaengel

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 5
    • View Profile
Re: Disable UIInput Keyboard Screen Resizing
« Reply #3 on: July 03, 2014, 10:26:57 AM »
Did you found any solution for this ?