Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a SpreadSheet kind of display in Android?

Tags:

android

I am trying to display a SpreadSheet in the Android application with auot adjustable columns and each columns should surrounded by lines.I used the Table Layout the data are displayed in the Table format but i dont know how to surround each column with lines, auto adjustment.If anyone knows it please help me.

like image 702
Rajapandian Avatar asked Feb 28 '23 08:02

Rajapandian


1 Answers

You can set a background color for the TableLayout and give your TableRows a margin:

<TableLayout android:background="#000000">
    <TableRow android:background="#ffffff" android:layout_margin="3dip">
    <!-- etc. -->
like image 63
Josef Pfleger Avatar answered Mar 08 '23 01:03

Josef Pfleger