tysdkn_refresh_head.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. >
  6. <RelativeLayout
  7. android:layout_width="match_parent"
  8. android:layout_height="wrap_content"
  9. android:layout_alignParentBottom="true"
  10. android:paddingBottom="5dp"
  11. android:paddingTop="10dp" >
  12. <RelativeLayout
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:layout_centerInParent="true" >
  16. <ImageView
  17. android:layout_marginLeft="70dp"
  18. android:id="@+id/tysdkn_pull_icon"
  19. android:layout_width="15dp"
  20. android:layout_height="30dp"
  21. android:layout_centerVertical="true"
  22. android:background="@drawable/tysdkn_pull_icon_big" />
  23. <ImageView
  24. android:id="@+id/tysdkn_refreshing_icon"
  25. android:layout_width="20dp"
  26. android:layout_height="20dp"
  27. android:layout_centerVertical="true"
  28. android:layout_marginLeft="70dp"
  29. android:background="@drawable/tysdkn_refreshing"
  30. android:visibility="gone" />
  31. <TextView
  32. android:layout_centerInParent="true"
  33. android:id="@+id/tysdkn_state_tv"
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:text="下拉刷新"
  37. android:textColor="#999999"
  38. android:textSize="12sp" />
  39. <ImageView
  40. android:id="@+id/tysdkn_state_iv"
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:layout_centerVertical="true"
  44. android:layout_marginRight="8dp"
  45. android:layout_toLeftOf="@id/tysdkn_state_tv"
  46. android:visibility="gone" />
  47. </RelativeLayout>
  48. </RelativeLayout>
  49. </RelativeLayout>