0
listview를 만들었는데 listview를 스크롤하면 다음 목록 항목을 얻기 전에 로딩 원이 바닥 글에서 작동합니다. 로딩 원이 설정되고 목록보기애니메이션로드 중 listview
public void setLoadingView(View listFooter) {
this.listFooter = listFooter;
}
public View getLoadingView() {
return listFooter;
}
에서 얻을이 원
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dip"
android:layout_marginRight="10dip"
android:layout_marginTop="5dip"
android:layout_marginBottom="5dip"
android:baselineAligned="true"
android:gravity="center"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/pencil"
android:textColor="#B36000" />
</LinearLayout>
에 대한 XML입니다 그리고 목록보기에서이 레이아웃을 설정합니다. 이제 내가해야 할 일은 펜이 움직이는 원을 로딩 할 때 펜을 교체해야한다는 것입니다. 펜처럼 움직이는 것은 글쓰기입니다. (누군가가 스카 이프로 글쓰기 할 때 펜을 화면에 쓰는 것과 같습니다.) 새로운 안드로이드 이미지입니다.