| | |
| | | android:layout_height="wrap_content" |
| | | xmlns:app="http://schemas.android.com/apk/res-auto" |
| | | android:background="@color/white"> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | android:layout_marginTop="15dp" |
| | | android:text="赠送好友" |
| | | android:textSize="16sp" |
| | | android:textStyle="bold" |
| | | android:textColor="@color/textColor"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_price" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | android:layout_marginTop="85dp" |
| | | android:textColor="@color/colorYellow" |
| | | android:text="¥2980" |
| | | android:textSize="14sp" |
| | | android:textStyle="bold" |
| | | android:layout_marginEnd="14dp"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_price" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | android:layout_marginStart="14dp" |
| | | android:textColor="@color/textColor" |
| | | android:textSize="14sp" |
| | | android:text="订单金额:"/> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="1px" |
| | | android:background="@color/dividing_line_color" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_price" |
| | | android:layout_marginTop="22dp"/> |
| | | <TextView |
| | | <androidx.constraintlayout.widget.ConstraintLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | style="@style/style_btn_action" |
| | | android:layout_marginHorizontal="44dp" |
| | | android:text="确认赠送" |
| | | android:id="@+id/tv_action" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | android:layout_marginBottom="30dp" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_price" |
| | | android:layout_marginTop="44dp"/> |
| | | android:background="@drawable/bg_white_2dp" |
| | | app:layout_constraintTop_toTopOf="parent"> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | android:layout_marginTop="15dp" |
| | | android:text="赠送好友" |
| | | android:textSize="16sp" |
| | | android:textStyle="bold" |
| | | android:textColor="@color/textColor"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/tv_price" |
| | | app:layout_constraintTop_toTopOf="parent" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | android:layout_marginTop="85dp" |
| | | android:textColor="@color/colorYellow" |
| | | android:text="¥2980" |
| | | android:textSize="14sp" |
| | | android:textStyle="bold" |
| | | android:layout_marginEnd="14dp"/> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_price" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | android:layout_marginStart="14dp" |
| | | android:textColor="@color/textColor" |
| | | android:textSize="14sp" |
| | | android:text="订单金额:"/> |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="1px" |
| | | android:background="@color/dividing_line_color" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_price" |
| | | android:layout_marginTop="22dp"/> |
| | | <TextView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | style="@style/style_btn_action" |
| | | android:layout_marginHorizontal="44dp" |
| | | android:text="确认赠送" |
| | | android:id="@+id/tv_action" |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | android:layout_marginBottom="30dp" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_price" |
| | | android:layout_marginTop="44dp"/> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |
| | | |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |