public void appendNeighborCellInfo(NeighboringCellInfo data) {

    TableRow tr = new TableRow(this);
    int color = Color.parseColor("#000000");
    TextView label = new TextView(this);
    TableRow.LayoutParams params = new TableRow.LayoutParams();
    params.span = 2;
    params.leftMargin = 10;
    params.rightMargin = 10;
    params.bottomMargin = 10;

    TableRow.LayoutParams params2 = new TableRow.LayoutParams();
    params2.weight = 1;
    // params2.gravity=16;

    label.setLayoutParams(params);
    label.setText("Neighbor Cell Tower");
    label.setTextSize(20);
    label.setTextColor(Color.parseColor("#909090"));
    // label.setTypeface(null, Typeface.BOLD);
    // label.setGravity(Gravity.CENTER);
    // label.setPadding(0, 10, 0, 0);
    tr.addView(label);
    tr.setLayoutParams(params);

    ((TableLayout) findViewById(R.id.info_table)).addView(tr, params);

    tr = new TableRow(this);

    label = new TextView(this);
    label.setLayoutParams(params);
    label.setText("Network type ");
    label.setTextSize(18);
    label.setTextColor(color);

    tr.setBackgroundResource(R.drawable.black_alpha);
    tr.addView(label);

    label = new TextView(this);
    label.setTextSize(18);
    label.setLayoutParams(params2);
    label.setText(getString(DCSConvertorUtil.networkTypeToStringId(data.getNetworkType())));
    label.setTextColor(color);
    tr.addView(label);

    ((TableLayout) findViewById(R.id.info_table)).addView(tr, params);
    tr.setLayoutParams(params);

    tr = new TableRow(this);
    label = new TextView(this);
    label.setTextSize(18);
    label.setTextColor(color);
    tr.setBackgroundResource(R.drawable.black_alpha);
    label.setLayoutParams(params);
    label.setText("PSC ");
    tr.addView(label);

    label = new TextView(this);
    label.setText(data.getPsc() + "");
    label.setLayoutParams(params2);
    label.setTextColor(color);
    tr.addView(label);
    ((TableLayout) findViewById(R.id.info_table)).addView(tr, params);

    tr.setLayoutParams(params);

    tr = new TableRow(this);
    label = new TextView(this);
    label.setLayoutParams(params);
    label.setText("Cell id ");
    label.setTextSize(18);
    label.setTextColor(color);
    tr.setBackgroundResource(R.drawable.black_alpha);
    tr.addView(label);

    label = new TextView(this);
    label.setLayoutParams(params);
    label.setText(data.getCid() + "");
    label.setTextColor(color);
    label.setLayoutParams(params2);
    tr.addView(label);
    ((TableLayout) findViewById(R.id.info_table)).addView(tr, params);
    tr.setLayoutParams(params);

    tr = new TableRow(this);
    label = new TextView(this);
    label.setLayoutParams(params);
    label.setText("Area code ");
    label.setTextSize(18);
    label.setTextColor(color);
    tr.setBackgroundResource(R.drawable.black_alpha);
    tr.addView(label);

    label = new TextView(this);
    label.setText(data.getLac() + "");
    label.setTextColor(color);
    label.setLayoutParams(params2);
    tr.addView(label);
    ((TableLayout) findViewById(R.id.info_table)).addView(tr, params);
    tr.setLayoutParams(params);

    tr = new TableRow(this);
    label = new TextView(this);
    label.setLayoutParams(params);
    label.setText("Signal Strength ");
    label.setTextSize(18);
    label.setTextColor(color);
    tr.setBackgroundResource(R.drawable.black_alpha);
    tr.addView(label);

    label = new TextView(this);
    label.setLayoutParams(params);
    label.setText(data.getRssi() + "");
    label.setTextColor(color);
    label.setLayoutParams(params2);
    tr.addView(label);
    ((TableLayout) findViewById(R.id.info_table)).addView(tr, params);
    tr.setLayoutParams(params);
  }