Marco Maria Vilucchi Active Member Licensed User Longtime User Jul 8, 2015 #1 Hi Erel, related to the Tutorial "B4i ListView" I have 2 questions 1) how can i customize text/cell after your TableView1.AddSingleLine("Item #" & i) 2) how can i customize text/cell for "First line" Dim tc As TableCell = TableView1.AddTwoLines("First line", "") 'the second line will be soon added Ths Marco
Hi Erel, related to the Tutorial "B4i ListView" I have 2 questions 1) how can i customize text/cell after your TableView1.AddSingleLine("Item #" & i) 2) how can i customize text/cell for "First line" Dim tc As TableCell = TableView1.AddTwoLines("First line", "") 'the second line will be soon added Ths Marco
Erel B4X founder Staff member Licensed User Longtime User Jul 8, 2015 #2 Marco Maria Vilucchi said: Hi Erel, Click to expand... Please see the forum guidelines: https://www.b4x.com/android/forum/threads/forum-guidelines.55632/ 1) Exactly like you did in the second case: Dim tc As TableCell = TableView1.AddSingleLine(..) Now you can modify tc as needed. 2) B4X: Dim s As AttributedString s.Initialize("first line", Font.DEFAULT, Colors.Black) tc.Text = s Upvote 0
Marco Maria Vilucchi said: Hi Erel, Click to expand... Please see the forum guidelines: https://www.b4x.com/android/forum/threads/forum-guidelines.55632/ 1) Exactly like you did in the second case: Dim tc As TableCell = TableView1.AddSingleLine(..) Now you can modify tc as needed. 2) B4X: Dim s As AttributedString s.Initialize("first line", Font.DEFAULT, Colors.Black) tc.Text = s