#26 2016-04-06 18:28:44

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: Android : Is there a way to stop the keyboard from resizing the view?

Hello,

After some tests, the behaviour can't be reproduced with the view itself, even if we set their "height" at start. I am not sure about, because the view is itself a DIV element like a Container control, however, probably it's the way in how the controls are placed in the view. It's not exactly the same if they are placed inside a Container than if they are placed in the view.

Offline

#27 2016-04-06 18:34:51

tin
Member
Registered: 2016-03-20
Posts: 161

Re: Android : Is there a way to stop the keyboard from resizing the view?

Thanks again.Anyway the problem has solve,And we have new sample and overflow properties.That a great for newbies. big_smile big_smile

Offline

#28 2016-04-06 18:37:40

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: Android : Is there a way to stop the keyboard from resizing the view?

Hello,

In fact the "overflow" already exists in controls like Container, Report and HTML Content, because they are useful sometimes. The new are the Focus and Blur events in all Inputs, Select, MultiSelect and Textarea controls. And the interesting "InputsScroll" sample.

Yes, certainly everyday we can learn something more. smile

Offline

#29 2016-11-14 13:36:11

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: Android : Is there a way to stop the keyboard from resizing the view?

Hello there,

Tin, upgrade your AB copy and take a look at the new "InputsScroll2" application sample. I think this shown a more elegant way to solve the software keyboard "problem" instead of the applied in the "InputsScroll" sample, which of course can continue working. Maybe you can consider it for your next projects.

Hope this information can be useful! smile

Offline

#30 2016-11-16 17:55:11

fakie
Banned
Registered: 2016-10-28
Posts: 36

Re: Android : Is there a way to stop the keyboard from resizing the view?

Hi There David.

Just wanted to let you know that this problem was what I described as the "squeeze" problem.

I think since english is not my first language - I had a problem in explaining.
Glad to see it resolved.

Thanks to you and tin!
Keep up the good work.


This is my favourite quote.

Offline

#31 2016-11-16 17:59:56

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: Android : Is there a way to stop the keyboard from resizing the view?

Hello to all,

fakie wrote:

Hi There David.

Just wanted to let you know that this problem was what I described as the "squeeze" problem.

I think since english is not my first language - I had a problem in explaining.
Glad to see it resolved.

Thanks to you and tin!
Keep up the good work.

You're welcome fakie!

Offline

#32 2016-11-16 18:54:33

tin
Member
Registered: 2016-03-20
Posts: 161

Re: Android : Is there a way to stop the keyboard from resizing the view?

Amazing!! Time to say goodbye container...
just 2 code

SetStyle "View1" "margin-top" "0px"

SetViewSize "" "[App.InnerHeight]px"

Offline

#33 2016-11-16 22:48:45

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: Android : Is there a way to stop the keyboard from resizing the view?

tin wrote:

Amazing!! Time to say goodbye container...
just 2 code

SetStyle "View1" "margin-top" "0px"

SetViewSize "" "[App.InnerHeight]px"

That's is! smile

Offline

#34 2016-11-17 06:26:45

tin
Member
Registered: 2016-03-20
Posts: 161

Re: Android : Is there a way to stop the keyboard from resizing the view?

So,Is it support in master view too?
How to coding it to not resize as View1?
Because View1 all control not resize now,but all control in master view still resize.

Offline

#35 2016-11-17 10:20:55

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: Android : Is there a way to stop the keyboard from resizing the view?

Hello tin,

I test right now by placing all the "InputsScroll2" sample View1's controls into the Master view. Then I set the "DrawMaster" View1's variable to "true" and try on Android: the result is the same than if the controls are placed directly in "View1".

That's do not surprise me, because in fact the Master view doesn't exists in runtime "as is", in other words, their controls are placed in the current app view if their "DrawMaster" variable is set to "true", but the app never shown the "Master view" "as is".

On the other hand, the above code is specific for the "View1" and doesn't apply to all application's views. That's the point, because probably not all the views in the application requires such behaviour or contains too much input controls like our "Inputs" view.

I am not sure if this can help you in some way tin, because I am not sure if can understand very well what you means. So please go ahead and ask here if you have any further question or need some more help on this.

Offline

#36 2016-11-17 20:50:20

tin
Member
Registered: 2016-03-20
Posts: 161

Re: Android : Is there a way to stop the keyboard from resizing the view?

Hi,David I test again.It was my mistake.I insert Css line for image in master view.After I delete it.it fix now
Thanks again
only 2 code!! It look awesome now.It so nearly perfect as Ionic framework does.

Offline

#37 2016-11-17 20:53:07

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: Android : Is there a way to stop the keyboard from resizing the view?

Hello tin,

tin wrote:

Hi,David I test again.It was my mistake.I insert Css line for image in master view.After I delete it.it fix now
Thanks again
only 2 code!! It look awesome now.It so nearly perfect as Ionic framework does.

Yes; I also made a test with two views (the "InputsScroll2" sample only has one, maybe I can add another...), one with the inputs and one other with other stuff. Certainly we can apply the "scroll style" just to one view and not others, which is probably what we wanted in most cases.

Offline

#38 2017-01-17 12:06:36

David
Admin
From: Alcobendas, Madrid, Spain
Registered: 2015-04-21
Posts: 1,657
Website

Re: Android : Is there a way to stop the keyboard from resizing the view?

Dear visitor,

If you find this forum's thread after searching in Google, you must know we are talking here about App Builder:

App Builder is the first and unique visual development environment that allow you to create, with or without programming knowledge, HTML5 apps, WebApps, Progressive WebApps, WebExtensions and Hybrid apps for both mobile and desktop platforms.

Feel free to try it for free now! www.getappbuilder.com

https://www.youtube.com/watch?v=VbCD0-W3ryo

Offline

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.