Custom ItemAppearance lets the developer determine the visibility of each available item and control its position. The placement of a drawable is achieved through some of its properties (inherited from TCommonObjectAppearance), given as follows:
- Height and Width: These properties dictate the size of the drawable. When the value is zero, the drawable will assume the same size of the parent item (individually for width and height, so you can set one and leave the other at zero), otherwise you may specify the actual size of the drawable.
- Align and VertAlign: Both these properties assume values from the TListItemAlign type defined in the FMX.ListView.Types unit. Three values are available: Leading, Center, and Trailing. We can regard the list item as a rectangular shape and we can determine the desired alignment both horizontally and vertically. These three values mean at the beginning, in the center...