-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcell_goods.xml
70 lines (63 loc) · 3.02 KB
/
cell_goods.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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">
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline_hh2_goods"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_percent="0.7" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline_vv2_goods"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_percent="0.85" />
<TextView
android:id="@+id/textView_title_goods"
android:layout_width="0dp"
android:layout_height="0dp"
android:text="TextView"
android:textSize="80sp"
app:autoSizeTextType="uniform"
app:layout_constraintBottom_toTopOf="@+id/guideline_hh1_goods"
app:layout_constraintEnd_toStartOf="@+id/guideline_vv2_goods"
app:layout_constraintStart_toStartOf="@+id/guideline_vv1_goods"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.478" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline_vv1_goods"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintGuide_percent="0.15" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/guideline_hh1_goods"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintGuide_percent="0.25" />
<ImageView
android:id="@+id/imageView_goods"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/guideline_hh2_goods"
app:layout_constraintEnd_toStartOf="@+id/guideline_vv2_goods"
app:layout_constraintStart_toStartOf="@+id/guideline_vv1_goods"
app:layout_constraintTop_toTopOf="@+id/guideline_hh1_goods"
tools:srcCompat="@tools:sample/backgrounds/scenic" />
<TextView
android:id="@+id/textView_detail_goods"
android:layout_width="0dp"
android:layout_height="0dp"
android:text="TextView"
android:textSize="30sp"
app:autoSizeTextType="uniform"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/guideline_vv2_goods"
app:layout_constraintStart_toStartOf="@+id/guideline_vv1_goods"
app:layout_constraintTop_toTopOf="@+id/guideline_hh2_goods" />
</androidx.constraintlayout.widget.ConstraintLayout>