B brogrammer New Member Licensed User Longtime User May 31, 2013 #1 Is it possible to center the text in the listview? If yes, how? Thanks, Brogrammer.
klaus Expert Licensed User Longtime User May 31, 2013 #2 Yes ! In the three layouts you can define the Gravity property for each label, like B4X: ListView1.TwoLinesLayout.Label.Gravity = Gravity.CENTER_HORIZONTAL ListView1.TwoLinesLayout.SecondLabel.Gravity = Bit.Or(Gravity.CENTER_VERTICAL, Gravity.CENTER_HORIZONTAL) Best regards. Upvote 0
Yes ! In the three layouts you can define the Gravity property for each label, like B4X: ListView1.TwoLinesLayout.Label.Gravity = Gravity.CENTER_HORIZONTAL ListView1.TwoLinesLayout.SecondLabel.Gravity = Bit.Or(Gravity.CENTER_VERTICAL, Gravity.CENTER_HORIZONTAL) Best regards.