Last few components clipped off in landscape orientation on android devices

30 views
Skip to first unread message

aiinspi...@gmail.com

unread,
Feb 18, 2014, 12:36:04 PM2/18/14
to codenameone...@googlegroups.com
Hello,
 
I have a form with scrollable Y. It contains a list, text fields, text area, and buttons, picker. I use tablelayout as the outermost layout  to hold everything.
 
The problem is in portrait orientation, when I scroll to the end of the form, I can see and access the last few buttons. In landscape orientation,
the last3 buttons are clipped off and part of the  textarea. This is in android devices.
 
In emulator, I can see/access all the components ok(no clipping). I have tried many things, but the clipping still occurs.

Shai Almog

unread,
Feb 18, 2014, 3:08:11 PM2/18/14
to codenameone...@googlegroups.com, aiinspi...@gmail.com
Hi,
can you provide some screenshots and maybe a screenshot of the component hierarchy viewer?
Make sure you don't nest scrollable components one into another.
Please also detail any additional layout you might have.

aiinspi...@gmail.com

unread,
Feb 19, 2014, 6:37:24 AM2/19/14
to codenameone...@googlegroups.com, aiinspi...@gmail.com
It occurs in real/physical  android devices and not emulator that's why I couldn't attach screenshots right away.
 
I use TableLayout and BoxLayoutY
 
There is a List component which is in a container. The list height is held fixed by the table layout specifying height 35%.
 
I created a brand new project(mapper theme tab template) to recreate it. It is attached with the theme.res You will notice in android devices, you can scroll and access all components in portrait, but not in landscape orientation.(The last few buttons are clipped off)
ProblemVerify-debug.apk
theme.res
StateMachine.java

Shai Almog

unread,
Feb 19, 2014, 12:59:16 PM2/19/14
to codenameone...@googlegroups.com, aiinspi...@gmail.com
You can open an issue on this but it will take us a while to get to it.

aiinspi...@gmail.com

unread,
Feb 19, 2014, 9:06:11 PM2/19/14
to codenameone...@googlegroups.com, aiinspi...@gmail.com
ok
Reply all
Reply to author
Forward
0 new messages