| 21195 |
rajender |
1 |
<?xml version="1.0" encoding="utf-8"?>
|
|
|
2 |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
3 |
xmlns:tools="http://schemas.android.com/tools"
|
|
|
4 |
android:layout_width="match_parent"
|
|
|
5 |
android:layout_height="match_parent"
|
|
|
6 |
tools:context=".main.ReferrerActivity"
|
|
|
7 |
android:background="@color/green_tobe_used"
|
|
|
8 |
>
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
<LinearLayout android:layout_width="match_parent"
|
|
|
12 |
android:background="@color/green_tobe_used"
|
|
|
13 |
android:layout_height="match_parent"
|
|
|
14 |
android:layout_gravity="center"
|
|
|
15 |
android:gravity="center"
|
|
|
16 |
android:padding="10dp"
|
|
|
17 |
android:orientation="vertical">
|
|
|
18 |
|
|
|
19 |
<ScrollView
|
|
|
20 |
android:layout_width="match_parent"
|
|
|
21 |
android:background="@color/green_tobe_used"
|
|
|
22 |
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
23 |
android:layout_height="match_parent">
|
|
|
24 |
|
|
|
25 |
<RelativeLayout android:layout_width="match_parent"
|
|
|
26 |
android:layout_height="550dp"
|
|
|
27 |
android:padding="10dp"
|
|
|
28 |
android:background="@drawable/roundshape"
|
|
|
29 |
android:gravity="center"
|
|
|
30 |
android:layout_alignParentBottom="true"
|
|
|
31 |
android:layout_centerHorizontal="true">
|
|
|
32 |
|
|
|
33 |
<TextView
|
|
|
34 |
android:layout_width="match_parent"
|
|
|
35 |
android:layout_height="wrap_content"
|
|
|
36 |
android:text="Retailer Verification"
|
|
|
37 |
android:id="@+id/info"
|
|
|
38 |
android:textColor="@color/grey_black"
|
|
|
39 |
android:textStyle="bold"
|
|
|
40 |
android:gravity="center"
|
|
|
41 |
android:textSize="20dp"/>
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
<android.support.design.widget.TextInputLayout
|
|
|
45 |
android:id="@+id/Invitecodeinput"
|
|
|
46 |
android:layout_width="match_parent"
|
|
|
47 |
android:layout_below="@+id/info"
|
|
|
48 |
android:layout_alignParentRight="true"
|
|
|
49 |
android:layout_alignParentEnd="true"
|
|
|
50 |
android:layout_height="wrap_content">
|
|
|
51 |
<EditText
|
|
|
52 |
android:layout_width="match_parent"
|
|
|
53 |
android:layout_height="wrap_content"
|
|
|
54 |
android:id="@+id/referalCode"
|
|
|
55 |
android:gravity="left"
|
|
|
56 |
android:maxLines="1"
|
|
|
57 |
android:hint="Invite code" />
|
|
|
58 |
</android.support.design.widget.TextInputLayout>
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
<TextView
|
|
|
62 |
android:id="@+id/subtextrefferer"
|
|
|
63 |
android:textSize="20dp"
|
|
|
64 |
android:layout_below="@+id/Invitecodeinput"
|
|
|
65 |
android:text="OR"
|
|
|
66 |
android:gravity="center"
|
|
|
67 |
android:layout_centerHorizontal="true"
|
|
|
68 |
android:layout_marginLeft="10dp"
|
|
|
69 |
android:layout_marginTop="5dp"
|
|
|
70 |
android:textColor="@color/Black"
|
|
|
71 |
android:layout_width="wrap_content"
|
|
|
72 |
android:layout_height="wrap_content" />
|
|
|
73 |
|
|
|
74 |
<TextView
|
|
|
75 |
android:id="@+id/message"
|
|
|
76 |
android:text="Attach Documents"
|
|
|
77 |
android:textStyle="bold"
|
|
|
78 |
android:gravity="center"
|
|
|
79 |
android:textSize="15dp"
|
|
|
80 |
android:padding="5dp"
|
|
|
81 |
android:layout_width="wrap_content"
|
|
|
82 |
android:layout_height="wrap_content"
|
|
|
83 |
android:layout_below="@+id/subtextrefferer"
|
|
|
84 |
android:layout_alignParentLeft="true"
|
|
|
85 |
android:layout_alignParentStart="true" />
|
|
|
86 |
|
|
|
87 |
<TextView
|
|
|
88 |
android:id="@+id/supportList"
|
|
|
89 |
android:text="View document List"
|
|
|
90 |
android:gravity="center"
|
|
|
91 |
android:onClick="onClick"
|
|
|
92 |
android:clickable="true"
|
|
|
93 |
android:textColor="@color/Blue"
|
|
|
94 |
android:textSize="12dp"
|
|
|
95 |
android:padding="5dp"
|
|
|
96 |
android:layout_width="wrap_content"
|
|
|
97 |
android:layout_height="wrap_content"
|
|
|
98 |
android:layout_above="@+id/supportDocument"
|
|
|
99 |
android:layout_alignParentRight="true"
|
|
|
100 |
android:layout_alignParentEnd="true" />
|
|
|
101 |
|
|
|
102 |
<RelativeLayout
|
|
|
103 |
android:layout_width="wrap_content"
|
|
|
104 |
android:layout_height="wrap_content"
|
|
|
105 |
android:id="@+id/storeDocument"
|
|
|
106 |
android:padding="10dp"
|
|
|
107 |
android:layout_below="@+id/message">
|
|
|
108 |
|
|
|
109 |
<TextView
|
|
|
110 |
android:text="Store Image"
|
|
|
111 |
android:textStyle="bold"
|
|
|
112 |
android:layout_width="wrap_content"
|
|
|
113 |
android:id="@+id/uploadimage"
|
|
|
114 |
android:layout_height="wrap_content"
|
|
|
115 |
android:inputType="text"
|
|
|
116 |
android:layout_centerVertical="true"
|
|
|
117 |
android:layout_alignParentLeft="true"
|
|
|
118 |
android:layout_alignParentStart="true" />
|
|
|
119 |
|
|
|
120 |
<ImageView
|
|
|
121 |
android:id="@+id/Imagebutton"
|
|
|
122 |
android:background="@drawable/ic_icon_gallery"
|
|
|
123 |
android:layout_width="wrap_content"
|
|
|
124 |
android:layout_height="wrap_content"
|
|
|
125 |
android:foregroundGravity="center"
|
|
|
126 |
android:layout_alignParentTop="true"
|
|
|
127 |
android:layout_toRightOf="@+id/uploadimage"
|
|
|
128 |
android:layout_toEndOf="@+id/uploadimage" />
|
|
|
129 |
|
|
|
130 |
</RelativeLayout>
|
|
|
131 |
|
|
|
132 |
<RelativeLayout
|
|
|
133 |
android:layout_width="wrap_content"
|
|
|
134 |
android:layout_height="wrap_content"
|
|
|
135 |
android:id="@+id/supportDocument"
|
|
|
136 |
android:layout_above="@+id/ivImage"
|
|
|
137 |
android:padding="5dp"
|
|
|
138 |
android:layout_alignRight="@+id/ivImage2"
|
|
|
139 |
android:layout_alignEnd="@+id/ivImage2"
|
|
|
140 |
android:layout_toEndOf="@+id/ivImage"
|
|
|
141 |
android:layout_toRightOf="@+id/ivImage">
|
|
|
142 |
|
|
|
143 |
|
|
|
144 |
<TextView
|
|
|
145 |
android:text="SupportDocument"
|
|
|
146 |
android:textStyle="bold"
|
|
|
147 |
android:layout_width="wrap_content"
|
|
|
148 |
android:gravity="center"
|
|
|
149 |
android:id="@+id/uploadimagesecond"
|
|
|
150 |
android:layout_height="wrap_content"
|
|
|
151 |
android:inputType="text"
|
|
|
152 |
android:maxLines="1"
|
|
|
153 |
android:layout_centerVertical="true"
|
|
|
154 |
android:layout_toLeftOf="@+id/Imagebutton2"
|
|
|
155 |
android:layout_toStartOf="@+id/Imagebutton2" />
|
|
|
156 |
|
|
|
157 |
<ImageView
|
|
|
158 |
android:id="@+id/Imagebutton2"
|
|
|
159 |
android:background="@drawable/ic_icon_gallery"
|
|
|
160 |
android:layout_width="wrap_content"
|
|
|
161 |
android:layout_height="35dp"
|
|
|
162 |
android:layout_alignParentTop="true"
|
|
|
163 |
android:layout_alignParentRight="true"
|
|
|
164 |
android:layout_alignParentEnd="true" />
|
|
|
165 |
</RelativeLayout>
|
|
|
166 |
<ImageView
|
|
|
167 |
android:id="@+id/ivImage"
|
|
|
168 |
android:layout_width="125dp"
|
|
|
169 |
android:layout_height="125dp"
|
|
|
170 |
android:layout_below="@+id/storeDocument"
|
|
|
171 |
android:layout_toRightOf="@+id/remove"
|
|
|
172 |
android:layout_toEndOf="@+id/remove" />
|
|
|
173 |
<ImageView
|
|
|
174 |
android:id="@+id/ivImage2"
|
|
|
175 |
android:layout_width="125dp"
|
|
|
176 |
android:layout_height="125dp"
|
|
|
177 |
android:layout_below="@+id/supportDocument"
|
|
|
178 |
android:layout_alignRight="@+id/Invitecodeinput"
|
|
|
179 |
android:layout_alignEnd="@+id/Invitecodeinput" />
|
|
|
180 |
|
|
|
181 |
|
|
|
182 |
<ImageButton
|
|
|
183 |
android:layout_width="wrap_content"
|
|
|
184 |
android:id="@+id/remove"
|
|
|
185 |
android:text="Remove"
|
|
|
186 |
android:visibility="gone"
|
|
|
187 |
android:background="@drawable/ic_action_remove"
|
|
|
188 |
android:layout_height="35dp"
|
|
|
189 |
android:layout_below="@+id/storeDocument"
|
|
|
190 |
android:layout_alignParentLeft="true"
|
|
|
191 |
android:layout_alignParentStart="true" />
|
|
|
192 |
|
|
|
193 |
|
|
|
194 |
|
|
|
195 |
<ImageButton
|
|
|
196 |
android:layout_width="wrap_content"
|
|
|
197 |
android:id="@+id/remove2"
|
|
|
198 |
android:visibility="gone"
|
|
|
199 |
android:background="@drawable/ic_action_remove"
|
|
|
200 |
android:layout_height="35dp"
|
|
|
201 |
android:layout_below="@+id/supportDocument"
|
|
|
202 |
android:layout_toLeftOf="@+id/ivImage2"
|
|
|
203 |
android:layout_toStartOf="@+id/ivImage2" />
|
|
|
204 |
<Button
|
|
|
205 |
android:layout_width="200dp"
|
|
|
206 |
android:id="@+id/referrerSend"
|
|
|
207 |
android:text="Submit"
|
|
|
208 |
android:textColor="@color/White"
|
|
|
209 |
android:layout_height="35dp"
|
|
|
210 |
android:background="@drawable/round"
|
|
|
211 |
android:layout_below="@+id/ivImage"
|
|
|
212 |
android:layout_marginTop="20dp"
|
|
|
213 |
android:padding="10dp"
|
|
|
214 |
android:layout_centerHorizontal="true" />
|
|
|
215 |
|
|
|
216 |
|
|
|
217 |
|
|
|
218 |
</RelativeLayout>
|
|
|
219 |
|
|
|
220 |
|
|
|
221 |
|
|
|
222 |
</ScrollView>
|
|
|
223 |
</LinearLayout>
|
|
|
224 |
</RelativeLayout>
|