Hwabum Kim
Hwabum Kim

Reputation: 1

How to hide android keyboard's input field

Hi I am currently developing a game for android on unity. (2d game)

I've been looking for answers everywhere since a week but still no answer ... So I decided to ask here.

Actually my problem might be very simple but I am new to Android development and I had no idea of how it was walking.

1 - I want the input field right at the top of the keyboard to be hidden, to put a custom input field made with unity UI system.

2 - Adjust keyboard's position (Only for like 50px from the bottom of the screen) so that i can put my stuffs in there.

I get that keyboard appears automatically when an InputField is focused or selected. But it dosen't make disappear the input field from the native keyboard.

From what I learned serching , I get wether I need to make plugin for unity or export my unity project to eclipse to do so. But unfortunetly I have no base on java or xml. I should really learn at least basic skills on these stuffs but for now I can't afford to spend time to learn from base.

What would be the most easy way ?

Hope someone can help me out. Thank you !

Upvotes: 0

Views: 1519

Answers (1)

tim
tim

Reputation: 1482

Maybe you can change the input field to just text,

And when you click on the text, show your own keyboard ui.

This is an alternative solution I think.

Upvotes: 1

Related Questions