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


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to