Hi all,
Probably a simple answer to this one, but I can't seem to find it.
On a mobile device, when a textbox gains focus and the keyboard is displayed, the keyboard takes up a portion of the available layout height, causing a 360px height to become a 155px, for example. This results in controls that are positioned and sized using percentages to reposition and resize.
Is there a way of stopping this behaviour when a soft-keyboard is displayed?
Ideally, the layout would reposition so as the in-focus input control is above the keyboard keeping its original height.
Thanks for your help.
Mark
Mobile Client - Mobile Layout - Percentage Based Positioning - Soft Keyboard
-
- Profound User
- Posts: 22
- Joined: Tue Apr 14, 2015 9:30 am
- First Name: Mark
- Last Name: Smart
- Company Name: Anker International
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Mobile Client - Mobile Layout - Percentage Based Positioning - Soft Keyboard
Are you running this in the Profound UI Mobile client on Android? Or is this in the device's browser? Or did you create your own app with PhoneGap, and if so, for what platform?
I tried this on iOS with the Profound UI Mobile Client and it didn't seem to do what you are describing.
I tried this on iOS with the Profound UI Mobile Client and it didn't seem to do what you are describing.
-
- Profound User
- Posts: 82
- Joined: Fri Jun 29, 2012 2:33 pm
- First Name: Antonio
- Last Name: Ruballos
- Company Name: Profound Logic
- Contact:
Re: Mobile Client - Mobile Layout - Percentage Based Positioning - Soft Keyboard
I believe this is the default behavior on the android OS, but this can be configured in your android project's manifest file.
See here:
http://solutions.michaelbrooks.ca/2011/ ... -web-view/
http://stackoverflow.com/questions/4287 ... on-android
Let us know if this helps you get resolved or not.
Thanks!
See here:
http://solutions.michaelbrooks.ca/2011/ ... -web-view/
http://stackoverflow.com/questions/4287 ... on-android
Let us know if this helps you get resolved or not.
Thanks!
-
- Profound User
- Posts: 22
- Joined: Tue Apr 14, 2015 9:30 am
- First Name: Mark
- Last Name: Smart
- Company Name: Anker International
- Contact:
Re: Mobile Client - Mobile Layout - Percentage Based Positioning - Soft Keyboard
Hi Scott,Scott Klement wrote:Are you running this in the Profound UI Mobile client on Android? Or is this in the device's browser? Or did you create your own app with PhoneGap, and if so, for what platform?
I tried this on iOS with the Profound UI Mobile Client and it didn't seem to do what you are describing.
Yes, this is the Profound UI Mobile Client on an Android 4.4.2 device.
-
- Profound User
- Posts: 82
- Joined: Fri Jun 29, 2012 2:33 pm
- First Name: Antonio
- Last Name: Ruballos
- Company Name: Profound Logic
- Contact:
Re: Mobile Client - Mobile Layout - Percentage Based Positioning - Soft Keyboard
Mark,
In that case we will have to look into this and see if its possible with some javascript coding or if it will require an update to our mobile client. I will keep you updated on this and let you know what we find.
In that case we will have to look into this and see if its possible with some javascript coding or if it will require an update to our mobile client. I will keep you updated on this and let you know what we find.
-
- Profound User
- Posts: 82
- Joined: Fri Jun 29, 2012 2:33 pm
- First Name: Antonio
- Last Name: Ruballos
- Company Name: Profound Logic
- Contact:
Re: Mobile Client - Mobile Layout - Percentage Based Positioning - Soft Keyboard
Mark,
We are still looking into what the best fix for this should be.
In the meanwhile though, can you send us a copy of the display file you are working with here? There might be a suitable workaround in the meantime based on how the display file is setup.
You can do this by opening the screen in the designer, selecting the "save as" button at the top of the designer, selecting the local tab and saving the file on your local PC. Then attach that file in an email and send it to support@profoundlogic.com. I have opened issue # 1877 for this issue, you can include that number in the subject.
Thanks!
We are still looking into what the best fix for this should be.
In the meanwhile though, can you send us a copy of the display file you are working with here? There might be a suitable workaround in the meantime based on how the display file is setup.
You can do this by opening the screen in the designer, selecting the "save as" button at the top of the designer, selecting the local tab and saving the file on your local PC. Then attach that file in an email and send it to support@profoundlogic.com. I have opened issue # 1877 for this issue, you can include that number in the subject.
Thanks!
Who is online
Users browsing this forum: No registered users and 0 guests