-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.xml
95 lines (86 loc) · 3.46 KB
/
layout.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"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/editText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_marginTop="15dp"
android:text="Samsung Galaxy On5 (Gold, 8 GB) (1.5 GB RAM"
android:textColor="#6F176C"
android:textSize="18dip"
android:typeface="serif"
/>
<ImageView
android:id="@+id/imageView"
android:layout_width="150dip"
android:layout_height="400dip"
android:layout_alignParentStart="true"
android:layout_below="@+id/editText"
app:srcCompat="@drawable/samsungon5" />
<TextView
android:id="@+id/editText2"
android:layout_width="200dip"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_below="@+id/imageView"
android:ems="10"
android:text="Product_ID:SAM101"
android:textColor="#040404" />
<TextView
android:id="@+id/editText3"
android:layout_width="200dip"
android:layout_height="wrap_content"
android:layout_alignStart="@+id/imageView"
android:layout_below="@+id/editText2"
android:ems="10"
android:text="PRICE:₹6,990"
android:textColor="#140CED"
android:textSize="25dip" />
<TextView
android:id="@+id/editText4"
android:layout_width="250dip"
android:layout_height="350dip"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:ems="10"
android:inputType="textMultiLine"
android:text="
• 1.5 GB RAM | 8 GB ROM
• Expandable Upto 128 GB
• 5-inch HD Display
• 8MP Rear Camera and 5MP Front Camera
• 2600 mAh Li-Ion Battery Exynos 3475
• Quad Core 1.3GHz Processor
"
android:textColor="#ED430C"
android:textSize="20dip" />
<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@+id/editText2"
android:layout_alignBottom="@+id/editText2"
android:layout_alignParentEnd="true"
android:layout_marginEnd="47dp"
android:text="BUY NOW"
android:background="#4CAF50"
android:textColor="@android:color/white"/>
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/editText4"
android:layout_toEndOf="@+id/editText2"
android:text="HIGHLIGHTS"
android:textSize="20dip"
android:textColor="#3DA620"/>
</RelativeLayout>
</LinearLayout>