LAMW and Custom Drawing jListView Items lazarus / 43-Android ---------------------------------------------------------------------- Robert Gilland · 2019-04-09 13:45 I have been looking without any success for something that will allow me to custom draw a listview item. Or maybe another Component I could use to do this? An event like: jListView.OnCustomDrawListViewItem( index : Integer; canvas :TCanvas  ). Then I could place all my elements where I need them to be like: Canvas.DrawBitMap( 0,0, 10, 10, MyRetrievedBitMap ) Canvas.DrawText( 10,0,0,0, "Some Text') etc ---------------------------------------------------------------------- howardpc · 2019-04-09 14:11 I'm not familiar with jListView. However, the bog-standard LCL TListView offers three 'custom' events, you can choose which one might meet your needs (they have differing parameter signatures): OnCustomDrawOnCustomDrawItemOnCustomDrawSubItem ---------------------------------------------------------------------- Robert Gilland · 2019-04-09 21:53 jListView is part of the LAMW Library, built for mobile Apps on Android, which have to deal with rotating screens. ---------------------------------------------------------------------- jmpessoa · 2019-04-09 21:59 Hi, Robert. What [jListView] text layout you nedd? some hint:    left(center|centerbelow)right the tags '(' and '|' will layout your text! ---------------------------------------------------------------------- Robert Gilland · 2019-04-09 22:17 Well the current jListview requirement is a simple .png| Long Description Text But I foresee further jListViews will need maybe jGridView as they deal with Product data and therefore maybe multiple objects arranged in one List Item. ---------------------------------------------------------------------- Robert Gilland · 2019-04-09 23:41 Also, what sets the height of a jListItem of jListVIew? No setting I choose seems to do anything. ---------------------------------------------------------------------- jmpessoa · 2019-04-10 04:58 Quote what sets the height of a jListItem of jListVIew...? You can try properties:  "ItemPaddingBottom" and "ItemPaddingTop"