activity_oa__alarma.xml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:orientation="vertical"
  7. tools:context="com.xzjmyk.pm.activity.ui.erp.activity.oa.OA_AlarmaActivity">
  8. <RelativeLayout
  9. android:id="@+id/top"
  10. android:layout_width="match_parent"
  11. android:layout_height="?attr/actionBarSize"
  12. android:background="@color/text_black">
  13. <TextView
  14. android:id="@+id/oa_back"
  15. android:layout_width="wrap_content"
  16. android:layout_height="wrap_content"
  17. android:layout_centerVertical="true"
  18. android:layout_marginLeft="10dp"
  19. android:clickable="true"
  20. android:drawableLeft="@drawable/back"
  21. android:text="返回"
  22. android:textColor="@color/white"
  23. android:textSize="20sp" />
  24. <TextView
  25. android:id="@+id/oa_date_tv"
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:layout_centerInParent="true"
  29. android:clickable="true"
  30. android:text="签到提醒"
  31. android:textColor="@color/white"
  32. android:textSize="20sp" />
  33. </RelativeLayout>
  34. <RelativeLayout
  35. android:layout_width="match_parent"
  36. android:layout_height="@dimen/item_height"
  37. android:layout_margin="2dp"
  38. android:background="@drawable/oa_signin_tv_bg"
  39. android:padding="8dp">
  40. <TextView
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:layout_centerVertical="true"
  44. android:text="考勤提醒"
  45. android:textSize="@dimen/text_main" />
  46. <com.xzjmyk.pm.activity.ui.erp.view.SwitchView
  47. android:id="@+id/cb_task_reply"
  48. android:layout_width="50dp"
  49. android:layout_height="35dp"
  50. android:layout_alignParentRight="true"
  51. android:layout_centerVertical="true" />
  52. </RelativeLayout>
  53. <RelativeLayout
  54. android:layout_width="match_parent"
  55. android:layout_height="@dimen/item_height"
  56. android:layout_margin="2dp"
  57. android:background="@drawable/oa_signin_tv_bg"
  58. android:padding="8dp">
  59. <TextView
  60. android:layout_width="wrap_content"
  61. android:layout_height="wrap_content"
  62. android:layout_centerVertical="true"
  63. android:text="上班时间提醒"
  64. android:textSize="@dimen/text_main" />
  65. <ImageView
  66. android:id="@+id/image_alar"
  67. android:layout_width="wrap_content"
  68. android:layout_height="wrap_content"
  69. android:layout_alignParentRight="true"
  70. android:layout_centerVertical="true"
  71. android:layout_marginRight="5dp"
  72. android:src="@drawable/alar" />
  73. <TextView
  74. android:layout_width="wrap_content"
  75. android:layout_height="wrap_content"
  76. android:layout_centerVertical="true"
  77. android:layout_marginRight="15dp"
  78. android:layout_toLeftOf="@+id/image_alar"
  79. android:text="08 : 20"
  80. android:textSize="@dimen/text_main" />
  81. </RelativeLayout>
  82. <RelativeLayout
  83. android:layout_width="match_parent"
  84. android:layout_height="@dimen/item_height"
  85. android:layout_margin="2dp"
  86. android:background="@drawable/oa_signin_tv_bg"
  87. android:padding="8dp">
  88. <TextView
  89. android:layout_width="wrap_content"
  90. android:layout_height="wrap_content"
  91. android:layout_centerVertical="true"
  92. android:text="下班时间提醒"
  93. android:textSize="@dimen/text_main" />
  94. <ImageView
  95. android:id="@+id/image_ualar"
  96. android:layout_width="wrap_content"
  97. android:layout_height="wrap_content"
  98. android:layout_alignParentRight="true"
  99. android:layout_centerVertical="true"
  100. android:layout_marginRight="5dp"
  101. android:src="@drawable/alar" />
  102. <TextView
  103. android:layout_width="wrap_content"
  104. android:layout_height="wrap_content"
  105. android:layout_centerVertical="true"
  106. android:layout_marginRight="15dp"
  107. android:layout_toLeftOf="@+id/image_ualar"
  108. android:text="17 : 50"
  109. android:textSize="@dimen/text_main" />
  110. </RelativeLayout>
  111. </LinearLayout>