<?xml version="1.0" encoding="UTF-8"?> <inset xmlns:android="http://schemas.android.com/apk/res/android" android:insetLeft="62dp" android:insetRight="0dp" > <shape> <solid android:color="@color/driverline_color" /> <corners android:radius="2.0dip" /> </shape> </inset>
用法:
android:divider="@drawable/上面的xml名称"
android:dividerHeight="1dp"
时间: 2024-10-06 21:03:48