Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.42 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.cardview.widget.CardView 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. android:layout_marginLeft="@dimen/margin_horizontal_all_dialog"
  7. android:layout_marginRight="@dimen/margin_horizontal_all_dialog"
  8. app:layout_constraintBottom_toBottomOf="parent"
  9. app:layout_constraintLeft_toLeftOf="parent"
  10. app:layout_constraintRight_toRightOf="parent"
  11. app:layout_constraintTop_toTopOf="parent">
  12.  
  13. <androidx.constraintlayout.widget.ConstraintLayout
  14.  
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content">
  17.  
  18. <androidx.appcompat.widget.AppCompatImageView
  19. android:id="@+id/hotflash_icon"
  20. android:layout_width="@dimen/size_rateus_icon"
  21. android:layout_height="@dimen/size_rateus_icon"
  22. android:layout_marginTop="@dimen/padding_rateus_top"
  23. android:src="@drawable/hotflashicon"
  24. app:layout_constraintLeft_toLeftOf="parent"
  25. app:layout_constraintRight_toRightOf="parent"
  26. app:layout_constraintTop_toTopOf="parent" />
  27.  
  28. <np.TextView
  29. android:id="@+id/enjoying_luna_nueva"
  30. style="@style/OpenSansSemiBold17Black"
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:text="@string/rate_us_title"
  34. app:layout_constraintLeft_toLeftOf="parent"
  35. app:layout_constraintRight_toRightOf="parent"
  36. app:layout_constraintTop_toBottomOf="@id/hotflash_icon" />
  37.  
  38.  
  39. <View
  40. android:id="@+id/separator_top"
  41. android:layout_width="match_parent"
  42. android:layout_height="@dimen/height_all_separator"
  43. android:layout_marginTop="@dimen/margin_top_rate_us_upper_separator"
  44. android:background="@color/color_separator"
  45. app:layout_constraintTop_toBottomOf="@id/enjoying_luna_nueva" />
  46.  
  47. <np.TextView
  48. android:id="@+id/please_rate"
  49. style="@style/OpenSansSemiBold14"
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:layout_marginLeft="@dimen/margin_horizontal_rateus_text"
  53. android:layout_marginTop="@dimen/dialog_margin_top"
  54. android:layout_marginRight="@dimen/margin_horizontal_rateus_text"
  55. android:text="@string/rate_us_header"
  56. android:textAlignment="center"
  57. app:layout_constrainedWidth="true"
  58. app:layout_constraintLeft_toLeftOf="parent"
  59. app:layout_constraintRight_toRightOf="parent"
  60. app:layout_constraintTop_toBottomOf="@id/separator_top" />
  61.  
  62. <androidx.appcompat.widget.AppCompatRatingBar
  63. android:id="@+id/rating"
  64. android:layout_width="wrap_content"
  65. android:layout_height="@dimen/height_rateus_rating_bar"
  66. android:max="5"
  67. android:layout_marginTop="15dp"
  68. android:layout_marginBottom="15dp"
  69. android:numStars="5"
  70. android:progressDrawable="@drawable/selector_custom_rating_bar"
  71. android:stepSize="1"
  72. app:layout_constraintTop_toBottomOf="@id/please_rate"
  73. app:layout_constraintBottom_toTopOf="@id/separator_bottom"
  74. app:layout_constraintLeft_toLeftOf="parent"
  75. app:layout_constraintRight_toRightOf="parent" />
  76.  
  77. <np.TextView
  78. android:id="@+id/negative_rating_message"
  79. style="@style/OpenSansSemiBold14"
  80. android:layout_width="wrap_content"
  81. android:layout_height="wrap_content"
  82. android:text="@string/rate_us_negative_header"
  83. android:textAlignment="center"
  84. android:visibility="invisible"
  85. app:layout_constrainedWidth="true"
  86. app:layout_constraintLeft_toLeftOf="@id/please_rate"
  87. app:layout_constraintRight_toRightOf="@id/please_rate"
  88. app:layout_constraintTop_toTopOf="@id/please_rate" />
  89.  
  90. <np.Button
  91. android:id="@+id/send_feedback"
  92. android:layout_width="0dp"
  93. android:layout_marginTop="15dp"
  94. android:layout_marginBottom="15dp"
  95. android:layout_height="wrap_content"
  96. android:layout_marginLeft="@dimen/vertical_margin_rate_us_button"
  97. android:layout_marginRight="@dimen/vertical_margin_rate_us_button"
  98. android:background="@drawable/selector_green_save_button"
  99. android:text="@string/send_feedback"
  100. android:textAllCaps="false"
  101. android:textColor="@color/white"
  102. android:visibility="invisible"
  103. app:layout_constraintBottom_toTopOf="@id/separator_bottom"
  104. app:layout_constraintLeft_toLeftOf="parent"
  105. app:layout_constraintRight_toRightOf="parent"
  106. app:layout_constraintTop_toBottomOf="@id/negative_rating_message"
  107. app:layout_constraintVertical_bias="1" />
  108.  
  109. <View
  110. android:id="@+id/separator_vertical_bottom"
  111. android:layout_width="@dimen/width_all_separator"
  112. android:layout_height="0dp"
  113. android:background="@color/color_separator"
  114. app:layout_constraintBottom_toBottomOf="parent"
  115. app:layout_constraintLeft_toLeftOf="parent"
  116. app:layout_constraintRight_toRightOf="parent"
  117. app:layout_constraintTop_toBottomOf="@id/separator_bottom" />
  118.  
  119. <View
  120. android:id="@+id/separator_bottom"
  121. app:layout_constraintRight_toLeftOf="parent"
  122. app:layout_constraintLeft_toRightOf="parent"
  123. android:layout_width="0dp"
  124. android:layout_height="@dimen/height_all_separator"
  125. android:layout_marginTop="@dimen/margin_top_rateus_bottom_separator"
  126. android:background="@color/color_separator"
  127. app:layout_constraintBottom_toTopOf="@id/separator_vertical_bottom" />
  128.  
  129. <np.Button
  130. android:id="@+id/btn_submit"
  131. style="@style/Widget.AppCompat.Button.Borderless.Colored"
  132. android:layout_width="0dp"
  133. android:layout_height="wrap_content"
  134. android:text="@string/rate_us_submit"
  135. android:textAllCaps="false"
  136. android:textColor="@color/sky_blue"
  137. app:layout_constraintBottom_toBottomOf="parent"
  138. app:layout_constraintLeft_toRightOf="@id/btn_not_now"
  139. app:layout_constraintRight_toRightOf="parent"
  140. app:layout_constraintTop_toBottomOf="@id/separator_bottom" />
  141.  
  142. <np.Button
  143. android:id="@+id/btn_not_now"
  144. style="@style/Widget.AppCompat.Button.Borderless.Colored"
  145. android:layout_width="0dp"
  146. android:layout_height="wrap_content"
  147. android:text="@string/rate_us_not_now"
  148. android:textAllCaps="false"
  149. android:textColor="@color/sky_blue"
  150. app:layout_constraintBottom_toBottomOf="parent"
  151. app:layout_constraintLeft_toLeftOf="parent"
  152. app:layout_constraintRight_toLeftOf="@id/btn_submit"
  153. app:layout_constraintTop_toBottomOf="@id/separator_bottom" />
  154.  
  155.  
  156.  
  157. </androidx.constraintlayout.widget.ConstraintLayout>
  158.  
  159. </androidx.cardview.widget.CardView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement