| 14792 |
manas |
1 |
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
2 |
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
|
|
|
3 |
android:layout_height="match_parent" tools:context="com.saholic.profittill.main.MyProfile">
|
|
|
4 |
|
|
|
5 |
<ScrollView
|
|
|
6 |
android:background="@color/White"
|
|
|
7 |
android:layout_width="match_parent"
|
|
|
8 |
android:layout_height="match_parent"
|
|
|
9 |
android:fillViewport="false"
|
|
|
10 |
>
|
|
|
11 |
<LinearLayout
|
|
|
12 |
android:layout_width="match_parent"
|
|
|
13 |
android:layout_height="match_parent"
|
|
|
14 |
android:orientation="vertical" >
|
|
|
15 |
|
|
|
16 |
<RelativeLayout
|
|
|
17 |
android:layout_height="120dp"
|
|
|
18 |
android:layout_width="match_parent"
|
|
|
19 |
android:background="@color/green_tobe_used">
|
|
|
20 |
<!-- <TextView
|
|
|
21 |
android:id="@+id/profileName"
|
|
|
22 |
android:textSize="30dp"
|
|
|
23 |
android:editable="true"
|
|
|
24 |
android:layout_marginTop="30dp"
|
|
|
25 |
android:layout_marginLeft="10dp"
|
|
|
26 |
android:textColor="@color/Black"
|
|
|
27 |
android:layout_width="wrap_content"
|
|
|
28 |
android:layout_height="wrap_content" />-->
|
|
|
29 |
<ImageView
|
|
|
30 |
android:src="@drawable/noimageavailable"
|
|
|
31 |
android:id="@+id/profilePicture"
|
|
|
32 |
android:layout_width="wrap_content"
|
|
|
33 |
android:layout_height="wrap_content"
|
|
|
34 |
android:layout_centerHorizontal="true"
|
|
|
35 |
|
|
|
36 |
/>
|
|
|
37 |
</RelativeLayout>
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
<LinearLayout
|
|
|
41 |
android:layout_width="fill_parent"
|
|
|
42 |
android:id="@+id/phoneNumberLayout"
|
|
|
43 |
android:layout_height="wrap_content" >
|
|
|
44 |
<RelativeLayout
|
|
|
45 |
android:layout_width="fill_parent"
|
|
|
46 |
android:padding="10dp"
|
|
|
47 |
android:id="@+id/phoneNumberRelativeLayout"
|
|
|
48 |
android:layout_height="wrap_content" >
|
|
|
49 |
|
|
|
50 |
<TextView
|
|
|
51 |
android:text="Phone Number"
|
|
|
52 |
android:id="@+id/phoneNumberMyProfileText"
|
|
|
53 |
android:layout_width="wrap_content"
|
|
|
54 |
android:layout_height="wrap_content" />
|
|
|
55 |
<EditText
|
|
|
56 |
android:layout_below="@+id/phoneNumberMyProfileText"
|
|
|
57 |
android:layout_width="fill_parent"
|
|
|
58 |
android:layout_height="30dp"
|
|
|
59 |
android:inputType="phone"
|
|
|
60 |
android:maxLength="10"
|
|
|
61 |
android:layout_centerHorizontal="true"
|
|
|
62 |
android:background="@drawable/myprofileedittext"
|
|
|
63 |
android:id="@+id/phoneNumberMyProfile" />
|
|
|
64 |
<TextView
|
|
|
65 |
android:id="@+id/phoneNumberMyProfileVerifyStatus"
|
|
|
66 |
android:layout_width="70dp"
|
|
|
67 |
android:layout_height="30dp"
|
|
|
68 |
android:gravity="center"
|
|
|
69 |
android:textSize="10dp"
|
|
|
70 |
android:background="@color/green_tobe_used"
|
|
|
71 |
android:text="Verify Now to get Cashback"
|
|
|
72 |
android:textColor="@color/White"
|
|
|
73 |
android:layout_marginRight="27dp"
|
|
|
74 |
android:layout_marginEnd="27dp"
|
|
|
75 |
android:layout_centerInParent="true"
|
|
|
76 |
android:layout_toLeftOf="@+id/phoneNumberMyProfileEdit" />
|
|
|
77 |
|
|
|
78 |
<TextView
|
|
|
79 |
android:id="@+id/phoneNumberMyProfileEdit"
|
|
|
80 |
android:layout_width="wrap_content"
|
|
|
81 |
android:layout_height="wrap_content"
|
|
|
82 |
android:gravity="center"
|
|
|
83 |
android:layout_marginTop="45dp"
|
|
|
84 |
android:text="Edit"
|
|
|
85 |
android:textColor="@color/green_tobe_used"
|
|
|
86 |
android:layout_centerVertical="true"
|
|
|
87 |
android:layout_alignRight="@+id/phoneNumberMyProfile"
|
|
|
88 |
android:layout_alignEnd="@+id/phoneNumberMyProfile"
|
|
|
89 |
android:layout_marginRight="25dp"
|
|
|
90 |
android:layout_marginEnd="25dp" />
|
|
|
91 |
|
|
|
92 |
</RelativeLayout>
|
|
|
93 |
</LinearLayout>
|
|
|
94 |
|
|
|
95 |
<LinearLayout
|
|
|
96 |
android:layout_width="fill_parent"
|
|
|
97 |
android:padding="10dp"
|
|
|
98 |
android:layout_marginTop="-25dp"
|
|
|
99 |
android:id="@+id/profileNameLayout"
|
|
|
100 |
android:layout_height="wrap_content" >
|
|
|
101 |
|
|
|
102 |
<RelativeLayout
|
|
|
103 |
android:layout_width="fill_parent"
|
|
|
104 |
android:id="@+id/profileNameRelativeLayout"
|
|
|
105 |
android:layout_height="wrap_content" >
|
|
|
106 |
<TextView
|
|
|
107 |
android:text="Name"
|
|
|
108 |
android:id="@+id/profileNameMyProfileText"
|
|
|
109 |
android:layout_width="wrap_content"
|
|
|
110 |
android:layout_height="wrap_content" />
|
|
|
111 |
|
|
|
112 |
<EditText
|
|
|
113 |
android:layout_below="@+id/profileNameMyProfileText"
|
|
|
114 |
android:layout_width="fill_parent"
|
|
|
115 |
android:layout_height="30dp"
|
|
|
116 |
android:layout_centerHorizontal="true"
|
|
|
117 |
android:background="@drawable/myprofileedittext"
|
|
|
118 |
android:id="@+id/profileNameMyProfile" />
|
|
|
119 |
|
|
|
120 |
<TextView
|
|
|
121 |
android:id="@+id/profileNameMyProfileEdit"
|
|
|
122 |
android:layout_width="wrap_content"
|
|
|
123 |
android:layout_height="wrap_content"
|
|
|
124 |
android:gravity="center"
|
|
|
125 |
android:layout_marginTop="45dp"
|
|
|
126 |
android:text="Edit"
|
|
|
127 |
android:textColor="@color/green_tobe_used"
|
|
|
128 |
android:layout_centerVertical="true"
|
|
|
129 |
android:layout_alignRight="@+id/profileNameMyProfile"
|
|
|
130 |
android:layout_alignEnd="@+id/profileNameMyProfile"
|
|
|
131 |
android:layout_marginRight="25dp"
|
|
|
132 |
android:layout_marginEnd="25dp" />
|
|
|
133 |
</RelativeLayout>
|
|
|
134 |
</LinearLayout>
|
|
|
135 |
<LinearLayout
|
|
|
136 |
android:layout_width="fill_parent"
|
|
|
137 |
android:padding="10dp"
|
|
|
138 |
android:layout_marginTop="-25dp"
|
|
|
139 |
android:id="@+id/addressLine1Layout"
|
|
|
140 |
android:layout_height="wrap_content" >
|
|
|
141 |
|
|
|
142 |
<RelativeLayout
|
|
|
143 |
android:layout_width="fill_parent"
|
|
|
144 |
android:id="@+id/addressLine1RelativeLayout"
|
|
|
145 |
android:layout_height="wrap_content" >
|
|
|
146 |
<TextView
|
|
|
147 |
android:text="Address Line 1"
|
|
|
148 |
android:id="@+id/addressLine1MyProfileText"
|
|
|
149 |
android:layout_width="wrap_content"
|
|
|
150 |
android:layout_height="wrap_content" />
|
|
|
151 |
|
|
|
152 |
<EditText
|
|
|
153 |
android:layout_below="@+id/addressLine1MyProfileText"
|
|
|
154 |
android:layout_width="fill_parent"
|
|
|
155 |
android:layout_height="30dp"
|
|
|
156 |
android:layout_centerHorizontal="true"
|
|
|
157 |
android:background="@drawable/myprofileedittext"
|
|
|
158 |
android:id="@+id/addressLine1MyProfile" />
|
|
|
159 |
|
|
|
160 |
<TextView
|
|
|
161 |
android:id="@+id/addressLine1MyProfileEdit"
|
|
|
162 |
android:layout_width="wrap_content"
|
|
|
163 |
android:layout_height="wrap_content"
|
|
|
164 |
android:gravity="center"
|
|
|
165 |
android:layout_marginTop="45dp"
|
|
|
166 |
android:text="Edit"
|
|
|
167 |
android:textColor="@color/green_tobe_used"
|
|
|
168 |
android:layout_centerVertical="true"
|
|
|
169 |
android:layout_alignRight="@+id/addressLine1MyProfile"
|
|
|
170 |
android:layout_alignEnd="@+id/addressLine1MyProfile"
|
|
|
171 |
android:layout_marginRight="25dp"
|
|
|
172 |
android:layout_marginEnd="25dp" />
|
|
|
173 |
</RelativeLayout>
|
|
|
174 |
</LinearLayout>
|
|
|
175 |
|
|
|
176 |
<LinearLayout
|
|
|
177 |
android:layout_width="fill_parent"
|
|
|
178 |
android:padding="10dp"
|
|
|
179 |
android:layout_marginTop="-25dp"
|
|
|
180 |
android:id="@+id/addressLine2Layout"
|
|
|
181 |
android:layout_height="wrap_content" >
|
|
|
182 |
|
|
|
183 |
<RelativeLayout
|
|
|
184 |
android:layout_width="fill_parent"
|
|
|
185 |
android:id="@+id/addressLine2RelativeLayout"
|
|
|
186 |
android:layout_height="wrap_content" >
|
|
|
187 |
<TextView
|
|
|
188 |
android:text="Address Line 2"
|
|
|
189 |
android:id="@+id/addressLine2MyProfileText"
|
|
|
190 |
android:layout_width="wrap_content"
|
|
|
191 |
android:layout_height="wrap_content" />
|
|
|
192 |
|
|
|
193 |
<EditText
|
|
|
194 |
android:layout_below="@+id/addressLine2MyProfileText"
|
|
|
195 |
android:layout_width="fill_parent"
|
|
|
196 |
android:layout_height="30dp"
|
|
|
197 |
android:layout_centerHorizontal="true"
|
|
|
198 |
android:background="@drawable/myprofileedittext"
|
|
|
199 |
android:id="@+id/addressLine2MyProfile" />
|
|
|
200 |
|
|
|
201 |
<TextView
|
|
|
202 |
android:id="@+id/addressLine2MyProfileEdit"
|
|
|
203 |
android:layout_width="wrap_content"
|
|
|
204 |
android:layout_height="wrap_content"
|
|
|
205 |
android:gravity="center"
|
|
|
206 |
android:layout_marginTop="45dp"
|
|
|
207 |
android:text="Edit"
|
|
|
208 |
android:textColor="@color/green_tobe_used"
|
|
|
209 |
android:layout_centerVertical="true"
|
|
|
210 |
android:layout_alignRight="@+id/addressLine2MyProfile"
|
|
|
211 |
android:layout_alignEnd="@+id/addressLine2MyProfile"
|
|
|
212 |
android:layout_marginRight="25dp"
|
|
|
213 |
android:layout_marginEnd="25dp" />
|
|
|
214 |
</RelativeLayout>
|
|
|
215 |
</LinearLayout>
|
|
|
216 |
|
|
|
217 |
<LinearLayout
|
|
|
218 |
android:layout_width="fill_parent"
|
|
|
219 |
android:padding="10dp"
|
|
|
220 |
android:layout_marginTop="-25dp"
|
|
|
221 |
android:id="@+id/cityLayout"
|
|
|
222 |
android:layout_height="wrap_content" >
|
|
|
223 |
|
|
|
224 |
<RelativeLayout
|
|
|
225 |
android:layout_width="fill_parent"
|
|
|
226 |
android:id="@+id/cityRelativeLayout"
|
|
|
227 |
android:layout_height="wrap_content" >
|
|
|
228 |
<TextView
|
|
|
229 |
android:text="City"
|
|
|
230 |
android:id="@+id/cityMyProfileText"
|
|
|
231 |
android:layout_width="wrap_content"
|
|
|
232 |
android:layout_height="wrap_content" />
|
|
|
233 |
|
|
|
234 |
<EditText
|
|
|
235 |
android:layout_below="@+id/cityMyProfileText"
|
|
|
236 |
android:layout_width="fill_parent"
|
|
|
237 |
android:layout_height="30dp"
|
|
|
238 |
android:layout_centerHorizontal="true"
|
|
|
239 |
android:background="@drawable/myprofileedittext"
|
|
|
240 |
android:id="@+id/cityMyProfile" />
|
|
|
241 |
|
|
|
242 |
<TextView
|
|
|
243 |
android:id="@+id/cityMyProfileEdit"
|
|
|
244 |
android:layout_width="wrap_content"
|
|
|
245 |
android:layout_height="wrap_content"
|
|
|
246 |
android:gravity="center"
|
|
|
247 |
android:layout_marginTop="45dp"
|
|
|
248 |
android:text="Edit"
|
|
|
249 |
android:textColor="@color/green_tobe_used"
|
|
|
250 |
android:layout_centerVertical="true"
|
|
|
251 |
android:layout_alignRight="@+id/cityMyProfile"
|
|
|
252 |
android:layout_alignEnd="@+id/cityMyProfile"
|
|
|
253 |
android:layout_marginRight="25dp"
|
|
|
254 |
android:layout_marginEnd="25dp" />
|
|
|
255 |
</RelativeLayout>
|
|
|
256 |
</LinearLayout>
|
|
|
257 |
<LinearLayout
|
|
|
258 |
android:layout_width="fill_parent"
|
|
|
259 |
android:padding="10dp"
|
|
|
260 |
android:layout_marginTop="-25dp"
|
|
|
261 |
android:id="@+id/pincodeLayout"
|
|
|
262 |
android:layout_height="wrap_content" >
|
|
|
263 |
|
|
|
264 |
<RelativeLayout
|
|
|
265 |
android:layout_width="fill_parent"
|
|
|
266 |
android:id="@+id/pincodeRelativeLayout"
|
|
|
267 |
android:layout_height="wrap_content" >
|
|
|
268 |
<TextView
|
|
|
269 |
android:text="Pincode"
|
|
|
270 |
android:id="@+id/pincodeMyProfileText"
|
|
|
271 |
android:layout_width="wrap_content"
|
|
|
272 |
android:layout_height="wrap_content" />
|
|
|
273 |
|
|
|
274 |
<EditText
|
|
|
275 |
android:layout_below="@+id/pincodeMyProfileText"
|
|
|
276 |
android:layout_width="fill_parent"
|
|
|
277 |
android:layout_height="30dp"
|
|
|
278 |
android:layout_centerHorizontal="true"
|
|
|
279 |
android:inputType="number"
|
|
|
280 |
android:maxLength="6"
|
|
|
281 |
android:background="@drawable/myprofileedittext"
|
|
|
282 |
android:id="@+id/pincodeMyProfile" />
|
|
|
283 |
|
|
|
284 |
<TextView
|
|
|
285 |
android:id="@+id/pincodeMyProfileEdit"
|
|
|
286 |
android:layout_width="wrap_content"
|
|
|
287 |
android:layout_height="wrap_content"
|
|
|
288 |
android:gravity="center"
|
|
|
289 |
android:layout_marginTop="45dp"
|
|
|
290 |
android:text="Edit"
|
|
|
291 |
android:textColor="@color/green_tobe_used"
|
|
|
292 |
android:layout_centerVertical="true"
|
|
|
293 |
android:layout_alignRight="@+id/pincodeMyProfile"
|
|
|
294 |
android:layout_alignEnd="@+id/pincodeMyProfile"
|
|
|
295 |
android:layout_marginRight="25dp"
|
|
|
296 |
android:layout_marginEnd="25dp" />
|
|
|
297 |
</RelativeLayout>
|
|
|
298 |
</LinearLayout>
|
|
|
299 |
<Button
|
|
|
300 |
android:id="@+id/profileSave"
|
|
|
301 |
android:text="Done"
|
|
|
302 |
android:background="@color/green_tobe_used"
|
|
|
303 |
android:layout_marginRight="20dp"
|
|
|
304 |
android:layout_alignParentRight="true"
|
|
|
305 |
android:layout_width="wrap_content"
|
|
|
306 |
android:layout_height="35dp"
|
|
|
307 |
android:textColor="@color/White"
|
|
|
308 |
android:layout_gravity="right" />
|
|
|
309 |
|
|
|
310 |
</LinearLayout>
|
|
|
311 |
|
|
|
312 |
|
|
|
313 |
</ScrollView>
|
|
|
314 |
|
|
|
315 |
|
|
|
316 |
</FrameLayout>
|