-
Notifications
You must be signed in to change notification settings - Fork 0
/
result_items.xml
95 lines (83 loc) · 3.55 KB
/
result_items.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView 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="190dp"
android:layout_height="350dp"
android:layout_margin="1dp"
app:cardCornerRadius="4dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="354dp"
android:layout_margin="4dp">
<ImageView
android:id="@+id/results_imageView"
android:layout_width="180dp"
android:layout_height="180dp"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_marginStart="3dp"
android:layout_marginTop="7dp"
android:padding="2dp" />
<TextView
android:id="@+id/results_title"
android:layout_width="170dp"
android:layout_height="60dp"
android:layout_below="@+id/results_imageView"
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true"
android:layout_marginStart="1dp"
android:layout_marginTop="0dp"
android:layout_marginEnd="4dp"
android:elegantTextHeight="false"
android:text="Title Title Title Title Title Title TitleTitle Title Title Title Title Title Title TitleTitle "
android:textAlignment="center"
android:textAllCaps="true"
android:textColor="@android:color/black"
android:textSize="16sp" />
<TextView
android:id="@+id/results_zipcode"
android:layout_width="80dp"
android:layout_height="wrap_content"
android:layout_below="@+id/results_title"
android:layout_alignParentStart="true"
android:layout_marginStart="10dp"
android:layout_marginTop="37dp"
android:text="zipcode" />
<TextView
android:id="@+id/results_shipping"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:layout_below="@+id/results_zipcode"
android:layout_alignParentStart="true"
android:layout_marginStart="7dp"
android:layout_marginTop="-1dp"
android:text="shipping" />
<TextView
android:id="@+id/results_condition"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentBottom="true"
android:layout_marginStart="8dp"
android:layout_marginBottom="13dp"
android:text="condition" />
<ImageView
android:id="@+id/results_wishlist"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_below="@+id/results_title"
android:layout_alignParentEnd="true"
android:layout_marginTop="36dp"
android:layout_marginEnd="6dp" />
<TextView
android:id="@+id/results_price"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:layout_marginEnd="7dp"
android:layout_marginBottom="13dp"
android:text="price" />
</RelativeLayout>
</android.support.v7.widget.CardView>