How to style a tablelayout in android
Asked Answered
C

2

1

Can anyone tell me how to add a boarder to a TableLayout in android, like the one below?

http://developer.android.com/images/table_layout.png

Cricoid answered 5/10, 2010 at 8:51 Comment(0)
F
1

table layout don't display the use border use view control

<View android:id="@+id/View01" android:layout_height="1dip"
    android:layout_width="fill_parent" android:background="@color/blue_text"></View>

for vertical line give width

Funnel answered 5/10, 2010 at 10:49 Comment(0)
D
0

TableLayout containers do not display border lines for their rows, columns, or cells. You cannot add border to table layout cells which is mentioned in the TableLayout Javadoc.

Droop answered 5/10, 2010 at 9:1 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.