Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/margin_horizontal_all_dialog"
- android:layout_marginRight="@dimen/margin_horizontal_all_dialog"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <androidx.appcompat.widget.AppCompatImageView
- android:id="@+id/hotflash_icon"
- android:layout_width="@dimen/size_rateus_icon"
- android:layout_height="@dimen/size_rateus_icon"
- android:layout_marginTop="@dimen/padding_rateus_top"
- android:src="@drawable/hotflashicon"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <np.TextView
- android:id="@+id/enjoying_luna_nueva"
- style="@style/OpenSansSemiBold17Black"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/rate_us_title"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@id/hotflash_icon" />
- <View
- android:id="@+id/separator_top"
- android:layout_width="match_parent"
- android:layout_height="@dimen/height_all_separator"
- android:layout_marginTop="@dimen/margin_top_rate_us_upper_separator"
- android:background="@color/color_separator"
- app:layout_constraintTop_toBottomOf="@id/enjoying_luna_nueva" />
- <np.TextView
- android:id="@+id/please_rate"
- style="@style/OpenSansSemiBold14"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/margin_horizontal_rateus_text"
- android:layout_marginTop="@dimen/dialog_margin_top"
- android:layout_marginRight="@dimen/margin_horizontal_rateus_text"
- android:text="@string/rate_us_header"
- android:textAlignment="center"
- app:layout_constrainedWidth="true"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@id/separator_top" />
- <androidx.appcompat.widget.AppCompatRatingBar
- android:id="@+id/rating"
- android:layout_width="wrap_content"
- android:layout_height="@dimen/height_rateus_rating_bar"
- android:max="5"
- android:layout_marginTop="15dp"
- android:layout_marginBottom="15dp"
- android:numStars="5"
- android:progressDrawable="@drawable/selector_custom_rating_bar"
- android:stepSize="1"
- app:layout_constraintTop_toBottomOf="@id/please_rate"
- app:layout_constraintBottom_toTopOf="@id/separator_bottom"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent" />
- <np.TextView
- android:id="@+id/negative_rating_message"
- style="@style/OpenSansSemiBold14"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/rate_us_negative_header"
- android:textAlignment="center"
- android:visibility="invisible"
- app:layout_constrainedWidth="true"
- app:layout_constraintLeft_toLeftOf="@id/please_rate"
- app:layout_constraintRight_toRightOf="@id/please_rate"
- app:layout_constraintTop_toTopOf="@id/please_rate" />
- <np.Button
- android:id="@+id/send_feedback"
- android:layout_width="0dp"
- android:layout_marginTop="15dp"
- android:layout_marginBottom="15dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/vertical_margin_rate_us_button"
- android:layout_marginRight="@dimen/vertical_margin_rate_us_button"
- android:background="@drawable/selector_green_save_button"
- android:text="@string/send_feedback"
- android:textAllCaps="false"
- android:textColor="@color/white"
- android:visibility="invisible"
- app:layout_constraintBottom_toTopOf="@id/separator_bottom"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@id/negative_rating_message"
- app:layout_constraintVertical_bias="1" />
- <View
- android:id="@+id/separator_vertical_bottom"
- android:layout_width="@dimen/width_all_separator"
- android:layout_height="0dp"
- android:background="@color/color_separator"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@id/separator_bottom" />
- <View
- android:id="@+id/separator_bottom"
- app:layout_constraintRight_toLeftOf="parent"
- app:layout_constraintLeft_toRightOf="parent"
- android:layout_width="0dp"
- android:layout_height="@dimen/height_all_separator"
- android:layout_marginTop="@dimen/margin_top_rateus_bottom_separator"
- android:background="@color/color_separator"
- app:layout_constraintBottom_toTopOf="@id/separator_vertical_bottom" />
- <np.Button
- android:id="@+id/btn_submit"
- style="@style/Widget.AppCompat.Button.Borderless.Colored"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:text="@string/rate_us_submit"
- android:textAllCaps="false"
- android:textColor="@color/sky_blue"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toRightOf="@id/btn_not_now"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toBottomOf="@id/separator_bottom" />
- <np.Button
- android:id="@+id/btn_not_now"
- style="@style/Widget.AppCompat.Button.Borderless.Colored"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:text="@string/rate_us_not_now"
- android:textAllCaps="false"
- android:textColor="@color/sky_blue"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toLeftOf="@id/btn_submit"
- app:layout_constraintTop_toBottomOf="@id/separator_bottom" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement