Mailing lists / fpc-pascal / 2021-07
gritwiev layout issue
3 messages · 2 people · –
- MMgr. Janusz Chmiel 2
- BBo Berglund 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
"Mgr. Janusz Chmiel wrote 28 lines
Could yu please stop posting in unreadable HTML format? These mail lists are designed to use plaintext only.
Dear specialists,
I AM very sorry that I have spammed this mailing list by using my messages on HTMl format. Unfortunately, I can not find out, how to setup Microsoft E-mail Windows 10 app available on Windows store to send messages in plain text. So I have decided to communicate by using Thunderbird on this mailing list.
I would like to plea some advanced developers here, if somebody would write Me, how to convert The following XML attributes to Pandroid package compatible format.
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:stretchMode="spacingWidthUniform"
Here are my settings.
Adapter := AWArrayAdapter.create(Self,
AR.innerLayout.simple_list_item_1, items);
GridView.setVerticalSpacing(24);
GridView.setHorizontalSpacing(10);
GridView.setStretchMode(AR.Innerattr.COLUMNWIDTH);But how to add
stretchMode="spacingWidthUniform"
To get PPCJVM Android JVM target compatible line of code.
GridView.setColumnWidth(100);
GridView.setNumColumns(AWGridView.AUTO_FIT);
I Am working with Pandroid for Windows package available from here:zeljkoc/PandroidPackage: Package for Lazarus , Create android application (github.com) <https://github.com/zeljkoc/PandroidPackage>
I Am calling AndroidR25 APi functions because I need to have ignore battery optimisations feature working.
Thank you very much for yours help and for yours programmers time.
With deepest appreciation and with The kindness regards.
Janusz Chmiel
