How to style tablelayout in android

Can someone tell me how to add a border guard to TableLayout in Android as below?

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

+1
source share
2 answers

the layout of the table does not display the use of use border use

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

for the vertical line specify the width

+1
source

TableLayout containers do not display boundary rows for their rows, columns, or cells. You cannot add frames to table layout cells that are referenced in TableLayout Javadoc .

0
source

Source: https://habr.com/ru/post/907997/


All Articles