exercise_activity.xml 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="fill_parent"
  4. android:layout_height="fill_parent"
  5. android:orientation="vertical">
  6. <ImageView
  7. android:id="@+id/activity_bg"
  8. android:layout_width="@dimen/layx480"
  9. android:layout_height="@dimen/layy320"/>
  10. <ImageView
  11. android:id="@+id/activity_title_bg"
  12. android:layout_width="@dimen/layx470"
  13. android:layout_height="@dimen/layy58"
  14. android:layout_marginLeft="@dimen/layx5"
  15. android:contentDescription="@string/app_name"/>
  16. <ImageView
  17. android:layout_width="@dimen/layx56"
  18. android:layout_height="@dimen/layy46"
  19. android:layout_marginTop="@dimen/layy2"
  20. android:layout_marginLeft="@dimen/layx410"
  21. android:contentDescription="@string/app_name"
  22. android:background="@drawable/shop_back_btn"
  23. android:onClick="onClick_back"/>
  24. <ImageView
  25. android:layout_width="@dimen/layx91"
  26. android:layout_height="@dimen/layy33"
  27. android:layout_marginTop="@dimen/layy2"
  28. android:layout_centerHorizontal="true"
  29. android:background="@drawable/exercise_title"/>
  30. <RelativeLayout
  31. android:id="@+id/exercise_msg"
  32. android:layout_width="@dimen/layx455"
  33. android:layout_height="@dimen/layy255"
  34. android:layout_marginLeft="@dimen/layx12"
  35. android:layout_marginTop="@dimen/layy49"
  36. android:padding="@dimen/layy12"
  37. >
  38. <ListView
  39. android:id="@+id/exercise_list"
  40. android:layout_width="fill_parent"
  41. android:layout_height="wrap_content"
  42. android:layout_marginTop="@dimen/layy33"
  43. android:background="#00000000"
  44. android:cacheColorHint="#00000000"
  45. android:clickable="false"
  46. android:dividerHeight="@dimen/layy10"
  47. android:focusable="false"
  48. android:divider="#00000000"
  49. android:listSelector="#00000000" />
  50. <TextView
  51. android:id="@+id/exercise_text"
  52. android:layout_width="fill_parent"
  53. android:layout_height="fill_parent"
  54. android:layout_marginTop="@dimen/layy48"
  55. android:layout_marginLeft="@dimen/layx12"
  56. android:textColor="#ffffff"
  57. android:textSize="@dimen/layx22"
  58. android:gravity="center"
  59. android:visibility="gone"/>
  60. </RelativeLayout>
  61. <Button
  62. android:id="@+id/onclick_exercise"
  63. android:layout_width="@dimen/layx86"
  64. android:layout_height="@dimen/layy30"
  65. android:layout_marginLeft="@dimen/layx22"
  66. android:layout_marginTop="@dimen/layy52"
  67. android:contentDescription="@string/app_name"
  68. android:background="@drawable/activity_tip_title_btn"
  69. android:gravity="center"
  70. android:text="@string/exer_title"
  71. style="@style/shop_title_style"/>
  72. </RelativeLayout>