Recent

Author Topic: [LAMW] Tabs?? [SOLVED]  (Read 276 times)

r.lukasiak

  • Newbie
  • Posts: 3
[LAMW] Tabs?? [SOLVED]
« on: September 08, 2020, 04:13:07 am »
hi all!

I've just installed LAMW, I was able to build my first simple APK, everything seems ok but reviewing available components I noticed nothing for tabs. I'm used to use TPageControl for QT5. There is something called jsTabLayout but it doesn't seem to be possible to create a Page. There was "Add page" for TPageControl in its context menu but there is no way to create a page in jsTabLayout. Am I missing something or it's just not the right component for tabs in Android?

Thanks in advance for any hint.

Greetings!
« Last Edit: September 08, 2020, 07:59:51 pm by r.lukasiak »

jmpessoa

  • Hero Member
  • *****
  • Posts: 1623
Re: [LAMW] Tabs??
« Reply #1 on: September 08, 2020, 04:42:45 am »


There are some "demos" using tabs... 

"AppActionBarTabDemo1"

and  "AppCompatTabLayoutDemo1"  ,  "AppCompatTabLayoutDemo2"

and possibly/maybe  others "AppCompat***", too.
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

r.lukasiak

  • Newbie
  • Posts: 3
Re: [LAMW] Tabs??
« Reply #2 on: September 08, 2020, 07:59:21 pm »
I reviewed the demos and I think I got the idea how to use these components. It works completely different to TPageControl but at least now I know how it works. Thanks a lot!

 

TinyPortal © 2005-2018