我需要显示左右的TableRow
边框 TableLayout
。
如何,我会做到这一点???
How would i do that???
我举一个想法 - >通过创建一个XML文件中的形状标记
I give one idea -> Create one xml file using shape tag
像这样
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#FFFFFF"/>
<stroke android:width="2dp" android:color="#515151"/>
<corners android:radius="3dp" />
<padding android:left="10dp" android:top="5dp"
android:right="10dp" android:bottom="5dp" />
</shape>
设置机器人这个XML文件:后台=@可绘制/ xmlFilename表格布局
它给人的边框周围的tablelayout
it gives the border around your tablelayout