내 앱에 확장 가능한 목록보기가 있습니다. groupIndicator
을 설정하고 싶습니다. 이미지를 추가하지만 이미지가 늘어납니다. 아무 생각이 없습니다. 어떻게 해결할 수 있습니까?Android : Drawable이 올바르게 표시되지 않습니다.
이 내 코드와 확장 목록보기의 그림입니다
<ExpandableListView
android:layout_weight="1"
android:layout_width="fill_parent"
android:layout_height="0dp"
android:id="@+id/expandableListView"
android:groupIndicator="@drawable/group_indicator"/>
group_indicator.xml :
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/browser" android:state_empty="true"></item>
<item android:drawable="@drawable/minus1" android:state_expanded="true"></item>
</selector>
는 XML 여기에 속성을 참조 http://developer.android.com/reference/android/widget/ExpandableListView.html – pskink
@pskink : ican't은 나를 위해로드 아니에요 –
의 ExpandableListView 문서 – pskink