Skip to Content
0
Jul 17, 2020 at 01:31 PM

Preserve Image Spacing in Object Header

77 Views

Hi SAP Android team,

I would like to deactivate the preservation of the detail image space in the object header Fiori component.
Unfortunately it does not work to set app:preserveDetailImageSpacing="false" in the XML-Layout (like in Object cell for example). After some research I saw the following method in the ObjectHeader class:

public void setPreserveDetailImageSpacing(boolean preserveDetailImageSpacing) {
super.setPreserveDetailImageSpacing(true);}

It seems like the preservation can not be disabled. Is this on purpose for some reason?
I don't use a detail image in the object header. Therefore, I would like to use the space for more text.

Do you have an idea how I could workaround this issue?

Regards

Eduard Wagner