Forum > Android
(SOLVED) jListView image question
xinyiman:
Solved with this code
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---procedure TAndroidModule1.ListView1DrawItemBitmap(Sender: TObject; itemIndex: integer; itemCaption: string; out bimap: JObject);begin if ((itemIndex mod 2)=0) then begin bimap := Self.jImageList1.GetBitmap(0) end else begin bimap := Self.jImageList1.GetBitmap(1); end;end;
rsu333:
Great !
This will useful to other also
Navigation
[0] Message Index
[*] Previous page