cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Asset Manager 2005- Control.Type.FormCell.SimpleProperty - change background color Android

BjörnB
Participant
0 Kudos

Hi all,

i want to change the background color on a SimpleProperty in Asset Manager - Control.Type.FormCell.SimpleProperty.

For that i have defined in the "Style" section for the "Background" for example "FormCellBackgroundCritical" - a standard style of the SAP Asset Manager.

This works fine for iOS, but not for Android --> is it even possible to change the background of a fiel on Android?

iOS:

Thank you for your help.

Regards

Björn

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

bjoern.burandt

Were you able to resolve your issue? If any of the below responses helped you, then please mark the helpful answer by accepting it OR post an answer so others might benefit from your findings.

Regards, Jitendra (SAP Community Moderator)

Accepted Solutions (1)

Accepted Solutions (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert

I quickly tested with one of my MDK app and was able to set background color in SimpleProperty control on Android device.You need to put below in style.less file and have to bind the same in Application.app > Styles properties

.SimplePropertyFormCellBackground {
background-color: red;
}

Doc on styling.

https://help.sap.com/doc/69c2ce3e50454264acf9cafe6c6e442c/Latest/en-US/docs-en/reference/schemadoc/S...

BjörnB
Participant
0 Kudos

Hello Jitendra,

thank you for this information.

I will try that way and will give Feedback 🙂

Regards

Björn

Answers (0)