Using java Syntax Highlighting
- for(int i=0;i<playerlist.getLength();i++){
- TableRow row = new TableRow(LiveUpdateActivity.this);
- View cell_name = getCellView(country,2f);
- TextView name_field = (TextView) cell_name.findViewById(R.id.cell_main_text);
- TextView country_field = (TextView) cell_name.findViewById(R.id.cell_country);
- country_field.setVisibility(View.VISIBLE);
- name_field.setText(name);
- name_field.setPadding(padding_5p, 0, 0, 0);
- country_field.setText(country);
- row.addView(cell_name);
- String [] set_score = score.split("/");
- for(String point:set_score){
- View cell_score = getCellView(country,0.5f);
- setViewCenter(cell_score);
- TextView score_field = (TextView) cell_score.findViewById(R.id.cell_main_text);
- if(point.equals("-"))
- point = "";
- score_field.setText(point);
- row.addView(cell_score);
- }
- table.addView(row);
- }
Parsed in 0.033 seconds, using GeSHi 1.0.8.4
Now i want to create table like as in image
How to do that?
Thanks


