Listview size in Tablet is smaller than in emulator and browser


#1

Hi,

The ListView is inside the Container and its size in the emulator and browser it´s ok, but when I generate the Apk and install it on the Tablet the size is much smaller.

Look the pictures.

Running in the emulator, its Ok:

Running on device Tablet Samsung, error in ListView size:

What’s the problem?


#2

What happens if you run it as a web app on the tablet?


#4

Please try this. It will help determine if the problem is your app or PhoneGap.


#5

I opened the Tablet through the Volt link and no problems, see the link

https://icatalogo-diverts-generously.volt.live

But apk does not work in ListView.


#6

Topic moved to PhoneGap, since this issue only happens under PhoneGap.

Can you make a minimal app which reproduces the problem? It will make it easier to figure out what is going wrong when running under PhoneGap.


#7

Problem solved!

The ListView when used in conjunction with the Container component,
and with ListView scroll with fixed Header, the configuration must be as follows:

In the Container component
1-property style use:
float:left; Overflow-y:scroll; -webkit-overflow-scrolling: touch;

2-property position use:
static

In the List component
1-property scrolling, set true

Important set the property Bounds of components

Component Container

Component List

Topic Closed.


#8

This appears to work. One additional factor: fastclick needs to be turned on when running on iOS devices.


#9

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.