B4J Question [ABMaterial] Before I place a New Component Request

Cableguy

Expert
Licensed User
Hi Alain,

I know I should have posted this in the feedback app, but I am unsure it is not already possible to acomplish this (re)using one of the existing components.

My goal is to create a Grid like Button/Card array like this one

110827729-content-management-system-infographic-icon-set.jpg


I only need to create the single Card/Button. I need it to have a click event so that I can navigate to a different page...
So, before I place a New Component Request… Can this be already be done?
 

XbNnX_507

Active Member
Licensed User
You can create a AbmaterialContainer with an image and a label
B4X:
In buildpage()
Abmaterial.container.addrow(1).addcell(4)
...Build!.

In connect()
Abmaterial.container.cell(1,1).addcmp(abmImage)
..abmaterial.container.cell(1,1).addcmp(amblabel) ' backcolor the same as the image
 
Top