안드로이드 개발 질문/답변
(글 수 45,052)
listview에서 바탕색을 지정하고 longclick하고 아래로 내리면 검은 배경이 다시 나타납니다.
지정해준 배경을 계속나타내려고 하는데 longclickable을 false로 해도 계속 이런현상이 나타나네요.
이배경은 어디서 변경을 해주어야 하는지....
지정해준 배경을 계속나타내려고 하는데 longclickable을 false로 해도 계속 이런현상이 나타나네요.
이배경은 어디서 변경을 해주어야 하는지....
2010.02.22 13:53:52
http://developer.android.com/reference/android/widget/ListView.html#setCacheColorHint(int)
참고하시길 바랍니다.
xml에서 android:cacheColorHint 수정하시던지, 소스에서 수정하시면 됩니다.
2010.02.22 13:54:42
<LinearLayout android:id="@+id/LinearLayout01" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android"> <ListView android:id="@+id/ListView01" android:layout_height="wrap_content" android:layout_width="fill_parent" android:background="@drawable/death_cub_for_cutie_the_photo_album" android:divider="@drawable/list_index_dot" android:scrollingCache="false"> </ListView> </LinearLayout>구글링 하다가 제가 찾았네요. android:scrollingCache="false"> 요기가 답입니다!!!