Advertisement
thongz

Survey_delete_popup

Oct 24th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content">
  6.  
  7.  
  8. <android.support.v7.widget.CardView
  9. android:id="@+id/ly_root"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:layout_marginRight="15dp"
  13. android:layout_marginLeft="15dp"
  14. android:layout_marginTop="15dp"
  15. android:background="@color/dark_grey"
  16. android:elevation="2dp"
  17. android:translationZ="2dp"
  18. app:cardCornerRadius="4dp">
  19.  
  20. <RelativeLayout
  21. android:layout_width="match_parent"
  22. android:layout_height="wrap_content">
  23.  
  24. <TextView
  25. android:id="@+id/titleTextView"
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:layout_centerHorizontal="true"
  29. android:layout_marginBottom="10dp"
  30. android:layout_marginTop="10dp"
  31.  
  32. android:textColor="@color/black"
  33. android:textSize="22sp" />
  34.  
  35. <View
  36. android:id="@+id/line1"
  37. android:layout_width="match_parent"
  38. android:layout_height="1dp"
  39. android:layout_below="@+id/titleTextView"
  40. android:background="@color/dark_grey" />
  41.  
  42. <TextView
  43. android:id="@+id/messageTextView"
  44. android:layout_width="match_parent"
  45. android:layout_height="120dp"
  46. android:layout_below="@+id/line1"
  47. android:gravity="center"
  48.  
  49. android:textSize="18sp" />
  50.  
  51.  
  52. <Button
  53. android:id="@+id/deleteSurveyButton"
  54. android:layout_width="match_parent"
  55. android:layout_height="wrap_content"
  56. android:layout_below="@+id/messageTextView"
  57. android:layout_centerHorizontal="true"
  58. android:background="@drawable/buttonselector"
  59. android:paddingLeft="50dp"
  60. android:paddingRight="50dp"
  61. android:text="OK"
  62. android:textColor="#FFFFFF"
  63. android:textSize="20sp" />
  64. </RelativeLayout>
  65. </android.support.v7.widget.CardView>
  66.  
  67. <ImageView
  68. android:id="@+id/closePopButton"
  69. android:layout_width="50dp"
  70. android:layout_height="50dp"
  71. android:layout_alignParentEnd="true"
  72. android:layout_alignParentRight="true"
  73.  
  74. android:layout_gravity="right"
  75. android:elevation="6dp"
  76. android:src="@mipmap/popup_cross"
  77. android:translationZ="12dp" />
  78. </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement