组分隔符总是变黑
The group divider always turn black
<ExpandableListView
android:id="@+id/expandable_date"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:groupIndicator="@android:color/transparent"
android:layout_weight="5"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:divider="#212121"
android:dividerHeight="1dp"
android:background="#ffffff" />
我想把group和child的分割线设为灰色,child divider没问题,但是group divider总是变黑。请告诉我如何解决这个问题
<ExpandableListView
android:id="@+id/expandable_date"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:groupIndicator="@android:color/transparent"
android:layout_weight="5"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:divider="#C0C0C0"
android:dividerHeight="1dp"
android:background="@android:color/white" />
<ExpandableListView
android:id="@+id/expandable_date"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:groupIndicator="@android:color/transparent"
android:layout_weight="5"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:divider="#212121"
android:dividerHeight="1dp"
android:background="#ffffff" />
我想把group和child的分割线设为灰色,child divider没问题,但是group divider总是变黑。请告诉我如何解决这个问题
<ExpandableListView
android:id="@+id/expandable_date"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:groupIndicator="@android:color/transparent"
android:layout_weight="5"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:divider="#C0C0C0"
android:dividerHeight="1dp"
android:background="@android:color/white" />