Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
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"
4
    android:background="@color/White"
5
    tools:context="com.saholic.profittill.main.ContactUsFragment">
6
 
7
    <ScrollView
8
        android:layout_width="match_parent"
9
        android:layout_height="match_parent">
10
            <LinearLayout
11
                android:layout_width="match_parent"
12
                android:layout_height="match_parent"
13
                android:orientation="vertical" >
14
 
15
            <RelativeLayout
16
                android:layout_height="120dp"
17
                android:layout_width="match_parent"
18
                android:background="@color/green_tobe_used">
19
                <TextView
20
                    android:id="@+id/getInTouch"
21
                    android:textSize="30dp"
22
                    android:text="Get in Touch"
23
                    android:layout_marginTop="20dp"
24
                    android:layout_marginLeft="20dp"
25
                    android:textColor="@color/White"
26
                    android:layout_width="wrap_content"
27
                    android:layout_height="wrap_content" />
28
 
29
                <TextView
30
                    android:id="@+id/subtextContactUs"
31
                    android:textSize="17dp"
32
                    android:layout_below="@+id/getInTouch"
33
                    android:text="Use the form below to share any problem or issue"
34
                    android:layout_marginLeft="20dp"
35
                    android:layout_marginRight="20dp"
36
                    android:textColor="@color/Black"
37
                    android:layout_width="wrap_content"
38
                    android:layout_height="wrap_content" />
39
 
40
            </RelativeLayout>
41
 
42
                <LinearLayout
43
                    android:layout_width="fill_parent"
44
                    android:layout_height="wrap_content" >
45
                    <RelativeLayout
46
                        android:layout_width="fill_parent"
47
                        android:padding="10dp"
48
                        android:layout_height="wrap_content" >
49
 
50
                        <Button
51
                            android:id="@+id/contactUsButton"
52
                            android:text="Send"
53
                            android:background="@color/green_tobe_used"
54
                            android:layout_marginRight="2dp"
55
                            android:layout_alignParentRight="true"
56
                            android:layout_width="wrap_content"
57
                            android:layout_height="30dp"
58
                            android:textColor="@color/White"
59
                            android:layout_gravity="right" />
60
 
61
                    </RelativeLayout>
62
                </LinearLayout>
63
 
64
                <LinearLayout
65
                    android:layout_width="fill_parent"
66
                    android:padding="10dp"
67
                    android:layout_marginTop="-15dp"
68
                    android:layout_height="wrap_content" >
69
 
70
                    <RelativeLayout
71
                        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"
83
                            android:layout_centerHorizontal="true"
84
                            android:inputType="textEmailAddress"
85
                            android:clickable="false"
86
                            android:editable="false"
87
                            android:background="@drawable/myprofileedittext"
88
                            android:id="@+id/contactUsEmailId" />
89
                    </RelativeLayout>
90
                </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
 
99
                    <RelativeLayout
100
                        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"
112
                            android:background="@drawable/myprofileedittext"
113
                            android:id="@+id/contactUsSubject"
114
                            android:layout_height="30dp"></Spinner>
115
 
116
 
117
                    </RelativeLayout>
118
                </LinearLayout>
119
 
120
                <LinearLayout
121
                    android:layout_width="fill_parent"
122
                    android:paddingLeft="10dp"
123
                    android:paddingRight="10dp"
124
                    android:gravity="center"
125
                    android:layout_marginTop="-8dp"
126
                    android:layout_height="wrap_content" >
127
 
128
 
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
 
137
                </LinearLayout>
138
 
139
                <LinearLayout
140
                    android:layout_width="fill_parent"
141
                    android:padding="10dp"
142
                    android:layout_marginTop="-15dp"
143
                    android:layout_height="wrap_content" >
144
 
145
                        <EditText
146
                            android:id="@+id/contactUsContent"
147
                            android:hint="Write Here"
148
                            android:inputType="textMultiLine"
149
                            android:scrollbars="vertical"
150
                            android:layout_width="fill_parent"
151
                            android:background="@drawable/myprofileedittext"
152
                            android:layout_height="100dp"
153
                            android:layout_alignParentTop="true"
154
                            android:layout_alignParentLeft="true"
155
                            android:layout_alignParentStart="true"
156
                            android:layout_marginTop="10dp" />
157
                </LinearLayout>
158
                <LinearLayout
159
                    android:layout_width="fill_parent"
160
                    android:padding="10dp"
161
                    android:layout_height="wrap_content" >
162
 
163
                    <RelativeLayout
164
                        android:layout_width="fill_parent"
165
                        android:layout_height="wrap_content" >
166
                        <TextView
167
                            android:id="@+id/contactUsNumber"
168
                            android:textSize="20dp"
169
                            android:text="Call us at"
170
                            android:textColor="@color/green_tobe_used"
171
                            android:layout_width="wrap_content"
172
                            android:layout_centerHorizontal="true"
173
                            android:layout_height="wrap_content" />
174
                    </RelativeLayout>
175
                </LinearLayout>
176
 
177
            </LinearLayout>
178
        </ScrollView>
179
    </FrameLayout>