<TableLayout
android:showDividers="middle|beginning|end"
android:divider="@drawable/shape_table_diver"
>
</TableLayout><?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<size android:height="1dp" />
<solid android:color="@color/black" />
</shape>
本文介绍如何在 Android 的 TableLayout 中使用自定义分隔线,并展示了如何通过 XML 定义分隔线的颜色和高度。
655

被折叠的 条评论
为什么被折叠?



