B4J Question [ABMaterial]: How to have a device dependent dynamic footer?

Mashiane

Expert
Licensed User
Longtime User
Hi there

How can I achieve the following:

1. If my device is Medium and Large, my footer gets fixed, is, IsFixedFooter = True and PaddingBottom = 200
2. If my device is Small, unfix my footer? No PaddingBottom and IsFixedFooter = False

On ABMShared, there are two methods to create a fixed and a non fixed footer

Please advise and thanks..
 

mindful

Active Member
Licensed User
I think It is possible to create two footers and use the Visibility property.

MediumAndLargeFooter.Visibility = ABM.VISIBILITY_HIDE_ON_SMALL_ONLY

SmallFooter.Visibility = ABM.VISIBILITY_HIDE_ON_MEDIUM_AND_ABOVE

This is just a guess ... I haven't tried it but technically it should work.
 
Upvote 0
Top