my_viewpager.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. android:background="@color/white"
  6. android:gravity="center"
  7. android:orientation="vertical" >
  8. <LinearLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:gravity="center"
  12. android:orientation="horizontal" >
  13. <CheckBox
  14. android:id="@+id/imgCheck"
  15. android:layout_width="wrap_content"
  16. android:layout_height="wrap_content"
  17. android:layout_marginLeft="10dp"
  18. android:button="@drawable/checkbox"
  19. android:checked="false"
  20. android:focusable="false"
  21. android:focusableInTouchMode="false" />
  22. <LinearLayout
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content"
  25. android:layout_marginLeft="5dp"
  26. android:layout_marginRight="5dp"
  27. android:orientation="horizontal" >
  28. <ImageView
  29. android:id="@+id/viewpager_img"
  30. android:layout_width="match_parent"
  31. android:layout_height="200dp" />
  32. </LinearLayout>
  33. </LinearLayout>
  34. <TextView
  35. android:id="@+id/pageNoTxt"
  36. android:layout_width="wrap_content"
  37. android:layout_height="wrap_content"
  38. android:layout_marginBottom="5dp"
  39. android:layout_marginTop="3dp"
  40. android:text="1/4" />
  41. </LinearLayout>