listview에 배경화면을 넣어봤습니다.
해당 xml 파일에 소스는
-----------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/main2"> <<<<<<<
<TextView
android:id="@+id/selection"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>
<ListView
android:id="@android:id/list"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawSelectorOnTop="false"
android:listSelector="#00000000"
/>
</LinearLayout>
----------------------------------------------------------------------
입니다.
이런식으로 배경을 넣게 되면 발생하는 문제점이
리스트를 드레그하여 움직일시 백그라운드 배경 위로 list가 검정색으로 변하는 현상이 발생합니다
다른글을 읽어보았는데
setBackground를 사용하라고 댓글이 달려있더라구요
하지만 패키지에는 아무리 찾아봐도 없더라구요
도와주세요!!!!
android:cacheColorHint
="#00000000" 혹은