activity_notice_guide.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:gravity="center"
  5. android:fitsSystemWindows="true"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent">
  8. <com.epson.mobilephone.common.guide.MyViewPager
  9. android:id="@+id/guideViewPager"
  10. android:layout_width="wrap_content"
  11. android:layout_height="wrap_content"
  12. android:layout_above="@+id/pageDisplayViewGroup"
  13. android:layout_centerHorizontal="true" />
  14. <LinearLayout
  15. android:gravity="center"
  16. android:id="@+id/pageDisplayViewGroup"
  17. android:layout_width="wrap_content"
  18. android:layout_height="wrap_content"
  19. android:minHeight="20dp"
  20. android:layout_alignParentBottom="true"
  21. android:layout_alignParentStart="true"
  22. android:layout_alignParentEnd="true"
  23. android:layout_alignParentLeft="true"
  24. android:layout_alignParentRight="true">
  25. <ImageView
  26. android:layout_gravity="center_vertical"
  27. android:id="@+id/pageDot1"
  28. android:visibility="gone"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. app:srcCompat="@drawable/cycle02" />
  32. </LinearLayout>
  33. <LinearLayout
  34. android:orientation="vertical"
  35. android:id="@+id/guide_dialog_layout"
  36. android:background="@drawable/rectangle"
  37. android:visibility="gone"
  38. android:layout_width="wrap_content"
  39. android:layout_height="wrap_content"
  40. android:layout_marginTop="15dp"
  41. android:layout_below="@+id/pageDisplayViewGroup"
  42. android:layout_centerHorizontal="true">
  43. <TextView
  44. android:textSize="18sp"
  45. android:textColor="#ff1e90ff"
  46. android:gravity="center"
  47. android:layout_gravity="center"
  48. android:id="@+id/guide_dialog_message"
  49. android:layout_width="match_parent"
  50. android:layout_height="match_parent"
  51. android:layout_marginLeft="10dp"
  52. android:layout_marginTop="10dp"
  53. android:layout_marginRight="10dp"
  54. android:layout_marginBottom="10dp" />
  55. <View
  56. android:id="@+id/guide_dialog_horizon_gray_line"
  57. android:background="#ffd3d3d3"
  58. android:layout_width="match_parent"
  59. android:layout_height="1dp"
  60. android:layout_marginTop="5dp" />
  61. <LinearLayout
  62. android:orientation="horizontal"
  63. android:id="@+id/guide_dialog_buttons"
  64. android:layout_width="match_parent"
  65. android:layout_height="40dp">
  66. <Button
  67. android:textSize="16sp"
  68. android:textColor="#ff1e90ff"
  69. android:id="@+id/ok_button"
  70. android:background="@drawable/g_dialog_left_button_selector"
  71. android:padding="5dp"
  72. android:layout_width="match_parent"
  73. android:layout_height="match_parent"
  74. android:text="@string/str_yes"
  75. android:layout_weight="1" />
  76. <View
  77. android:orientation="horizontal"
  78. android:background="#ffd3d3d3"
  79. android:layout_width="1dp"
  80. android:layout_height="match_parent" />
  81. <Button
  82. android:textSize="16sp"
  83. android:textColor="#ff1e90ff"
  84. android:id="@+id/cancel_btn"
  85. android:background="@drawable/g_dialog_right_button_selector"
  86. android:padding="5dp"
  87. android:layout_width="match_parent"
  88. android:layout_height="match_parent"
  89. android:text="@string/str_no"
  90. android:layout_weight="1" />
  91. </LinearLayout>
  92. </LinearLayout>
  93. </RelativeLayout>