|
|
@@ -1,5 +1,7 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:orientation="vertical">
|
|
|
@@ -13,19 +15,19 @@
|
|
|
android:paddingLeft="15dp"
|
|
|
android:paddingRight="20dp">
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <android.support.constraint.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="19dp"
|
|
|
- android:gravity="bottom"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_marginTop="19dp">
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <android.support.constraint.ConstraintLayout
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toStartOf="@id/tv_price"
|
|
|
+ app:layout_constraintHorizontal_weight="1"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ tools:ignore="MissingConstraints">
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_title"
|
|
|
@@ -36,17 +38,7 @@
|
|
|
android:textColor="@color/text_black"
|
|
|
android:textSize="@dimen/px48_16sp" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_down"
|
|
|
- android:layout_width="48dp"
|
|
|
- android:layout_height="16dp"
|
|
|
- android:layout_marginLeft="3dp"
|
|
|
- android:background="@drawable/corners_gray_88_5dp"
|
|
|
- android:gravity="center"
|
|
|
- android:text="@string/demand_order_over"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/px33_11sp" />
|
|
|
- </LinearLayout>
|
|
|
+ </android.support.constraint.ConstraintLayout>
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
@@ -55,7 +47,10 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:text="2500元"
|
|
|
android:textColor="@color/text_blue_32"
|
|
|
- android:textSize="@dimen/px48_16sp" />
|
|
|
+ android:textSize="@dimen/px48_16sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/tv_stage"
|
|
|
+ tools:ignore="MissingConstraints" />
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_stage"
|
|
|
@@ -63,10 +58,12 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:text="*24月"
|
|
|
android:textColor="@color/text_blue_32"
|
|
|
- android:textSize="@dimen/px36_12sp" />
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
+ android:textSize="@dimen/px36_12sp"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ tools:ignore="MissingConstraints" />
|
|
|
|
|
|
+ </android.support.constraint.ConstraintLayout>
|
|
|
|
|
|
<TextView
|
|
|
android:id="@+id/tv_company"
|