Subversion Repositories SmartDukaan

Rev

Rev 14792 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14792 Rev 19652
Line 5... Line 5...
5
    tools:context="com.saholic.profittill.main.ContactUsFragment">
5
    tools:context="com.saholic.profittill.main.ContactUsFragment">
6
 
6
 
7
    <ScrollView
7
    <ScrollView
8
        android:layout_width="match_parent"
8
        android:layout_width="match_parent"
9
        android:layout_height="match_parent">
9
        android:layout_height="match_parent">
10
            <LinearLayout
10
        <LinearLayout
11
                android:layout_width="match_parent"
11
            android:layout_width="match_parent"
12
                android:layout_height="match_parent"
12
            android:layout_height="match_parent"
13
                android:orientation="vertical" >
13
            android:orientation="vertical" >
14
 
14
 
15
            <RelativeLayout
15
            <RelativeLayout
16
                android:layout_height="120dp"
16
                android:layout_height="wrap_content"
17
                android:layout_width="match_parent"
17
                android:layout_width="match_parent"
18
                android:background="@color/green_tobe_used">
18
                android:background="@color/green_tobe_used">
19
                <TextView
19
                <TextView
20
                    android:id="@+id/getInTouch"
20
                    android:id="@+id/getInTouch"
21
                    android:textSize="30dp"
21
                    android:textSize="18dp"
22
                    android:text="Get in Touch"
22
                    android:text="Get your questions answered here?"
23
                    android:layout_marginTop="20dp"
23
                    android:layout_marginTop="10dp"
24
                    android:layout_marginLeft="20dp"
24
                    android:layout_marginLeft="10dp"
25
                    android:textColor="@color/White"
25
                    android:textColor="@color/White"
26
                    android:layout_width="wrap_content"
26
                    android:layout_width="wrap_content"
27
                    android:layout_height="wrap_content" />
27
                    android:layout_height="wrap_content" />
28
 
28
 
29
                <TextView
29
                <TextView
30
                    android:id="@+id/subtextContactUs"
30
                    android:id="@+id/subtextContactUs"
31
                    android:textSize="17dp"
31
                    android:textSize="15dp"
32
                    android:layout_below="@+id/getInTouch"
32
                    android:layout_below="@+id/getInTouch"
-
 
33
                    android:text="OR"
-
 
34
                    android:gravity="center"
33
                    android:text="Use the form below to share any problem or issue"
35
                    android:layout_centerHorizontal="true"
34
                    android:layout_marginLeft="20dp"
36
                    android:layout_marginLeft="10dp"
35
                    android:layout_marginRight="20dp"
37
                    android:layout_marginTop="5dp"
36
                    android:textColor="@color/Black"
38
                    android:textColor="@color/Black"
37
                    android:layout_width="wrap_content"
39
                    android:layout_width="wrap_content"
38
                    android:layout_height="wrap_content" />
40
                    android:layout_height="wrap_content" />
39
 
41
 
-
 
42
                <TextView
-
 
43
                    android:layout_width="wrap_content"
-
 
44
                    android:layout_height="wrap_content"
-
 
45
                    android:text="Contact us for other queries"
-
 
46
                    android:id="@+id/button"
-
 
47
                    android:textColor="@color/White"
-
 
48
                    android:layout_marginLeft="10dp"
-
 
49
                    android:textSize="18dp"
-
 
50
                    android:layout_below="@+id/subtextContactUs"
-
 
51
                    android:layout_marginBottom="10dp"
-
 
52
                    />
-
 
53
 
-
 
54
 
40
            </RelativeLayout>
55
            </RelativeLayout>
41
 
56
 
42
                <LinearLayout
57
            <LinearLayout
-
 
58
                android:layout_width="fill_parent"
-
 
59
                android:layout_height="wrap_content" >
-
 
60
                <RelativeLayout
43
                    android:layout_width="fill_parent"
61
                    android:layout_width="fill_parent"
-
 
62
                    android:padding="10dp"
44
                    android:layout_height="wrap_content" >
63
                    android:layout_height="wrap_content" >
45
                    <RelativeLayout
-
 
46
                        android:layout_width="fill_parent"
-
 
47
                        android:padding="10dp"
-
 
48
                        android:layout_height="wrap_content" >
-
 
49
 
64
 
50
                        <Button
65
                    <Button
51
                            android:id="@+id/contactUsButton"
66
                        android:id="@+id/contactUsButton"
52
                            android:text="Send"
67
                        android:text="Send"
53
                            android:background="@color/green_tobe_used"
68
                        android:background="@color/green_tobe_used"
54
                            android:layout_marginRight="2dp"
69
                        android:layout_marginRight="2dp"
55
                            android:layout_alignParentRight="true"
70
                        android:layout_alignParentRight="true"
56
                            android:layout_width="wrap_content"
71
                        android:layout_width="wrap_content"
57
                            android:layout_height="30dp"
72
                        android:layout_height="30dp"
58
                            android:textColor="@color/White"
73
                        android:textColor="@color/White"
59
                            android:layout_gravity="right" />
74
                        android:layout_gravity="right" />
60
 
75
 
61
                    </RelativeLayout>
76
                </RelativeLayout>
62
                </LinearLayout>
77
            </LinearLayout>
63
 
78
 
64
                <LinearLayout
79
            <LinearLayout
-
 
80
                android:layout_width="fill_parent"
-
 
81
                android:padding="10dp"
-
 
82
                android:layout_marginTop="-15dp"
-
 
83
                android:layout_height="wrap_content" >
-
 
84
 
-
 
85
                <RelativeLayout
65
                    android:layout_width="fill_parent"
86
                    android:layout_width="fill_parent"
66
                    android:padding="10dp"
-
 
67
                    android:layout_marginTop="-15dp"
-
 
68
                    android:layout_height="wrap_content" >
87
                    android:layout_height="wrap_content" >
-
 
88
                    <TextView
-
 
89
                        android:text="From"
-
 
90
                        android:id="@+id/from"
-
 
91
                        android:layout_width="wrap_content"
-
 
92
                        android:layout_height="wrap_content" />
69
 
93
 
70
                    <RelativeLayout
94
                    <EditText
-
 
95
                        android:layout_below="@+id/from"
71
                        android:layout_width="fill_parent"
96
                        android:layout_width="fill_parent"
72
                        android:layout_height="wrap_content" >
-
 
73
                        <TextView
-
 
74
                            android:text="From"
-
 
75
                            android:id="@+id/from"
-
 
76
                            android:layout_width="wrap_content"
-
 
77
                            android:layout_height="wrap_content" />
-
 
78
 
-
 
79
                        <EditText
-
 
80
                            android:layout_below="@+id/from"
-
 
81
                            android:layout_width="fill_parent"
-
 
82
                            android:layout_height="30dp"
97
                        android:layout_height="30dp"
83
                            android:layout_centerHorizontal="true"
98
                        android:layout_centerHorizontal="true"
84
                            android:inputType="textEmailAddress"
99
                        android:inputType="textEmailAddress"
85
                            android:clickable="false"
100
                        android:clickable="false"
86
                            android:editable="false"
101
                        android:editable="false"
87
                            android:background="@drawable/myprofileedittext"
102
                        android:background="@drawable/myprofileedittext"
88
                            android:id="@+id/contactUsEmailId" />
103
                        android:id="@+id/contactUsEmailId" />
89
                    </RelativeLayout>
104
                </RelativeLayout>
90
                </LinearLayout>
105
            </LinearLayout>
91
 
-
 
92
                <LinearLayout
-
 
93
                    android:layout_width="fill_parent"
-
 
94
                    android:padding="10dp"
-
 
95
                    android:layout_marginTop="-15dp"
-
 
96
                    android:id="@+id/addressLine1Layout"
-
 
97
                    android:layout_height="wrap_content" >
-
 
98
 
106
 
-
 
107
            <LinearLayout
-
 
108
                android:layout_width="fill_parent"
-
 
109
                android:padding="10dp"
-
 
110
                android:layout_marginTop="-15dp"
-
 
111
                android:id="@+id/addressLine1Layout"
-
 
112
                android:layout_height="wrap_content" >
-
 
113
 
99
                    <RelativeLayout
114
                <RelativeLayout
-
 
115
                    android:layout_width="fill_parent"
-
 
116
                    android:id="@+id/addressLine1RelativeLayout"
-
 
117
                    android:layout_height="wrap_content" >
-
 
118
                    <TextView
-
 
119
                        android:text="Subject"
-
 
120
                        android:id="@+id/subject"
-
 
121
                        android:layout_width="wrap_content"
-
 
122
                        android:layout_height="wrap_content" />
-
 
123
                    <Spinner
-
 
124
                        android:layout_below="@+id/subject"
100
                        android:layout_width="fill_parent"
125
                        android:layout_width="fill_parent"
101
                        android:id="@+id/addressLine1RelativeLayout"
-
 
102
                        android:layout_height="wrap_content" >
-
 
103
                        <TextView
-
 
104
                            android:text="Subject"
-
 
105
                            android:id="@+id/subject"
-
 
106
                            android:layout_width="wrap_content"
-
 
107
                            android:layout_height="wrap_content" />
-
 
108
                        <Spinner
-
 
109
                            android:layout_below="@+id/subject"
-
 
110
                            android:layout_width="fill_parent"
-
 
111
                            android:layout_centerHorizontal="true"
126
                        android:layout_centerHorizontal="true"
112
                            android:background="@drawable/myprofileedittext"
127
                        android:background="@drawable/myprofileedittext"
113
                            android:id="@+id/contactUsSubject"
128
                        android:id="@+id/contactUsSubject"
114
                            android:layout_height="30dp"></Spinner>
129
                        android:layout_height="30dp"></Spinner>
115
 
130
 
116
 
131
 
117
                    </RelativeLayout>
-
 
118
                </LinearLayout>
-
 
119
 
132
 
120
                <LinearLayout
133
                </RelativeLayout>
121
                    android:layout_width="fill_parent"
-
 
122
                    android:paddingLeft="10dp"
-
 
123
                    android:paddingRight="10dp"
-
 
124
                    android:gravity="center"
134
            </LinearLayout>
125
                    android:layout_marginTop="-8dp"
-
 
126
                    android:layout_height="wrap_content" >
-
 
127
 
135
 
-
 
136
            <LinearLayout
-
 
137
                android:layout_width="fill_parent"
-
 
138
                android:paddingLeft="10dp"
-
 
139
                android:paddingRight="10dp"
-
 
140
                android:gravity="center"
-
 
141
                android:layout_marginTop="-8dp"
-
 
142
                android:layout_height="wrap_content" >
128
 
143
 
129
                    <EditText
-
 
130
                        android:layout_width="250dp"
-
 
131
                        android:layout_height="30dp"
-
 
132
                        android:visibility="gone"
-
 
133
                        android:layout_centerHorizontal="true"
-
 
134
                        android:background="@drawable/myprofileedittext"
-
 
135
                        android:id="@+id/otherSubjectContent" />
-
 
136
 
144
 
137
                </LinearLayout>
145
                <EditText
-
 
146
                    android:layout_width="250dp"
-
 
147
                    android:layout_height="30dp"
-
 
148
                    android:visibility="gone"
-
 
149
                    android:layout_centerHorizontal="true"
-
 
150
                    android:background="@drawable/myprofileedittext"
-
 
151
                    android:id="@+id/otherSubjectContent" />
138
 
152
 
139
                <LinearLayout
153
            </LinearLayout>
140
                    android:layout_width="fill_parent"
-
 
141
                    android:padding="10dp"
-
 
142
                    android:layout_marginTop="-15dp"
-
 
143
                    android:layout_height="wrap_content" >
-
 
144
 
154
 
-
 
155
            <LinearLayout
-
 
156
                android:layout_width="fill_parent"
-
 
157
                android:padding="10dp"
-
 
158
                android:layout_marginTop="-15dp"
-
 
159
                android:layout_height="wrap_content" >
-
 
160
 
145
                        <EditText
161
                <EditText
146
                            android:id="@+id/contactUsContent"
162
                    android:id="@+id/contactUsContent"
147
                            android:hint="Write Here"
163
                    android:hint="Write Here"
148
                            android:inputType="textMultiLine"
164
                    android:inputType="textMultiLine"
149
                            android:scrollbars="vertical"
165
                    android:scrollbars="vertical"
150
                            android:layout_width="fill_parent"
166
                    android:layout_width="fill_parent"
151
                            android:background="@drawable/myprofileedittext"
167
                    android:background="@drawable/myprofileedittext"
152
                            android:layout_height="100dp"
168
                    android:layout_height="100dp"
153
                            android:layout_alignParentTop="true"
169
                    android:layout_alignParentTop="true"
154
                            android:layout_alignParentLeft="true"
170
                    android:layout_alignParentLeft="true"
155
                            android:layout_alignParentStart="true"
171
                    android:layout_alignParentStart="true"
156
                            android:layout_marginTop="10dp" />
172
                    android:layout_marginTop="10dp" />
157
                </LinearLayout>
173
            </LinearLayout>
158
                <LinearLayout
174
            <LinearLayout
-
 
175
                android:layout_width="fill_parent"
-
 
176
                android:padding="10dp"
-
 
177
                android:layout_height="wrap_content" >
-
 
178
 
-
 
179
                <RelativeLayout
159
                    android:layout_width="fill_parent"
180
                    android:layout_width="fill_parent"
160
                    android:padding="10dp"
-
 
161
                    android:layout_height="wrap_content" >
181
                    android:layout_height="wrap_content" >
162
 
-
 
163
                    <RelativeLayout
-
 
164
                        android:layout_width="fill_parent"
-
 
165
                        android:layout_height="wrap_content" >
-
 
166
                        <TextView
182
                    <TextView
167
                            android:id="@+id/contactUsNumber"
183
                        android:id="@+id/contactUsNumber"
168
                            android:textSize="20dp"
184
                        android:textSize="20dp"
169
                            android:text="Call us at"
185
                        android:text="Call us at"
170
                            android:textColor="@color/green_tobe_used"
186
                        android:textColor="@color/green_tobe_used"
171
                            android:layout_width="wrap_content"
187
                        android:layout_width="wrap_content"
172
                            android:layout_centerHorizontal="true"
188
                        android:layout_centerHorizontal="true"
173
                            android:layout_height="wrap_content" />
189
                        android:layout_height="wrap_content" />
174
                    </RelativeLayout>
190
                </RelativeLayout>
175
                </LinearLayout>
-
 
176
 
-
 
177
            </LinearLayout>
191
            </LinearLayout>
-
 
192
 
-
 
193
        </LinearLayout>
178
        </ScrollView>
194
    </ScrollView>
179
    </FrameLayout>
195
</FrameLayout>
180
196