-
Notifications
You must be signed in to change notification settings - Fork 0
/
card_similar.xml
73 lines (65 loc) · 2.68 KB
/
card_similar.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
<?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="400dp"
android:layout_height="160dp"
android:layout_gravity="center_horizontal"
android:layout_margin="5dp"
app:cardCornerRadius="4dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="4dp">
<ImageView
android:id="@+id/simi_img"
android:layout_width="160dp"
android:layout_height="160dp"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_marginStart="2dp"
android:layout_marginTop="3dp"
tools:srcCompat="@tools:sample/avatars" />
<TextView
android:id="@+id/simi_title"
android:layout_width="217dp"
android:layout_height="71dp"
android:layout_alignParentTop="true"
android:layout_alignParentEnd="true"
android:layout_marginTop="5dp"
android:layout_marginEnd="7dp"
android:text="TextView"
android:textAllCaps="true"
android:textColor="@android:color/black"
android:textStyle="bold" />
<TextView
android:id="@+id/simi_shipping"
android:layout_width="106dp"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:layout_marginEnd="117dp"
android:layout_marginBottom="50dp"
android:text="TextView" />
<TextView
android:id="@+id/simi_days"
android:layout_width="102dp"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:layout_marginEnd="8dp"
android:layout_marginBottom="50dp"
android:text="TextView" />
<TextView
android:id="@+id/simi_price"
android:layout_width="70dp"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentBottom="true"
android:layout_marginEnd="12dp"
android:layout_marginBottom="25dp"
android:text="TextView"
android:textColor="@android:color/holo_purple"
android:textStyle="bold" />
</RelativeLayout>
</android.support.v7.widget.CardView>