Use Cardview
I see, Thank you very much for the help!
1 Like
Can i get the specific height and the width value of the components? thank you
"components": [
{
"id": "Card_View1",
"type": "MakeroidCardView",
"properties": {
"AlignHorizontal": 3,
"AlignVertical": 2,
"BackgroundColor": 16777215,
"ContentPaddingBottom": 0,
"ContentPaddingLeft": 0,
"ContentPaddingRight": 0,
"ContentPaddingTop": 0,
"CornerRadius": 20,
"Elevation": 0,
"Width": -1080,
"StrokeColor": 4043176955,
"StrokeWidth": 2
},
"components": [
{
"id": "Horizontal_Arrangement1",
"type": "HorizontalArrangement",
"properties": {
"BackgroundColor": 16777215,
"Width": -2
},
"components": [
{
"id": "Button1",
"type": "Button",
"properties": {
"BackgroundColor": 16777215,
"FontSize": 20,
"FontTypeface": 7,
"FontTypefaceImport": "MaterialIcons-Regular.ttf",
"HTMLFormat": true,
"Width": -2,
"Text": "man",
"TextColor": 4110285819,
"TouchColor": 4278238419
}
},
{
"id": "Vertical_Arrangement1",
"type": "VerticalArrangement",
"properties": {
"BackgroundColor": 4294967295,
"Height": -2,
"Width": 2
}
},
{
"id": "Button2",
"type": "Button",
"properties": {
"BackgroundColor": 16777215,
"FontSize": 20,
"FontTypeface": 9,
"FontTypefaceImport": "MaterialIcons-Regular.ttf",
"HTMLFormat": true,
"Width": -2,
"Text": "woman"
}
}
]
}
]
}
1 Like
what does -2 means in width and -1080 ?
-2 mean width fill but -1080 may be typo error but I don’t know exact meaning of it
Not a type error, when using persentage in width for example 80% in schema is set as -1080
2 Likes
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.