<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@color/common_bg">
<ExpandableListView
android:id="@+id/expandableListView_plJTG"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clickable="false"
android:divider="#FFCECFCE"
android:dividerHeight="1.0dp"
android:fadingEdge="vertical"
android:childDivider="@drawable/child_bg"
android:cacheColorHint="#00000000"
android:background="@color/common_bg">
</ExpandableListView>
</LinearLayout>
本文介绍如何在Android中为ExpandableListView设置自定义的子项分隔符颜色渐变效果,通过创建XML资源文件实现独特的视觉风格。
4038

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



