1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <!--
3+ /*
4+ * Copyright (C) 2007-2008 Esmertec AG.
5+ * Copyright (C) 2007-2008 The Android Open Source Project
6+ *
7+ * Licensed under the Apache License, Version 2.0 (the "License");
8+ * you may not use this file except in compliance with the License.
9+ * You may obtain a copy of the License at
10+ *
11+ * http://www.apache.org/licenses/LICENSE-2.0
12+ *
13+ * Unless required by applicable law or agreed to in writing, software
14+ * distributed under the License is distributed on an "AS IS" BASIS,
15+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+ * See the License for the specific language governing permissions and
17+ * limitations under the License.
18+ */
19+ -->
20+ <info .guardianproject.otr.app.im.app.ContactListFilterView xmlns : android =" http://schemas.android.com/apk/res/android"
21+ android : id =" @+id/contactFilterView"
22+ android : layout_width =" match_parent"
23+ android : layout_height =" match_parent"
24+ android : orientation =" vertical"
25+ android : background =" #00000000"
26+ android : padding =" 0dp"
27+
28+ >
29+
30+ <Spinner
31+ android : id =" @+id/spinnerAccounts"
32+ android : layout_width =" match_parent"
33+ android : layout_height =" wrap_content" />
34+
35+
36+ <info .guardianproject.otr.app.im.app.UserPresenceView
37+ android : id =" @+id/userPresence"
38+ android : layout_width =" fill_parent"
39+ android : layout_height =" 40dp"
40+ android : layout_centerVertical =" true"
41+ android : orientation =" horizontal"
42+ android : padding =" 3dip"
43+ android : background =" #aaaaaaaa"
44+ >
45+
46+ <LinearLayout
47+ android : layout_width =" wrap_content"
48+ android : layout_height =" wrap_content"
49+ android : layout_gravity =" center_vertical"
50+ >
51+
52+ <ImageButton
53+ android : id =" @+id/statusDropDownButton"
54+ android : layout_width =" wrap_content"
55+ android : layout_height =" fill_parent"
56+ android : layout_gravity =" center_vertical"
57+ android : layout_marginRight =" 4dip"
58+ android : scaleType =" fitCenter" />
59+
60+ <ProgressBar
61+ android : visibility =" gone"
62+ android : id =" @+id/progressBar1"
63+ android : layout_width =" wrap_content"
64+ android : layout_height =" wrap_content"
65+ android : gravity =" center_horizontal" >
66+ </ProgressBar >
67+ </LinearLayout >
68+
69+ <EditText
70+ android : id =" @+id/statusEdit"
71+ android : layout_width =" 0dip"
72+ android : layout_height =" wrap_content"
73+ android : layout_weight =" 1"
74+ android : inputType =" textCapSentences|textAutoCorrect"
75+ android : selectAllOnFocus =" true"
76+ android : singleLine =" true"
77+ android : fontFamily =" sans-serif-light"
78+ android : textAppearance =" ?android:attr/textAppearanceMedium"
79+ android : layout_marginTop =" 3dp"
80+ />
81+
82+ <TextView
83+ android : id =" @+id/statusView"
84+ android : layout_width =" fill_parent"
85+ android : layout_height =" wrap_content"
86+ android : paddingLeft =" 1dip"
87+ android : paddingTop =" 1dip"
88+ android : singleLine =" true"
89+ android : fontFamily =" sans-serif-light"
90+ android : textAppearance =" ?android:attr/textAppearanceMedium"
91+ android : visibility =" gone"
92+ android : layout_marginTop =" 3dp"
93+ />
94+ </info .guardianproject.otr.app.im.app.UserPresenceView>
95+
96+
97+ <RelativeLayout xmlns : android =" http://schemas.android.com/apk/res/android"
98+ android : layout_width =" fill_parent"
99+ android : layout_height =" fill_parent"
100+ android : orientation =" vertical" >
101+
102+
103+ <EditText
104+ android : id =" @+id/contactSearch"
105+ android : layout_width =" match_parent"
106+ android : layout_height =" wrap_content"
107+ android : selectAllOnFocus =" true"
108+ android : singleLine =" true"
109+ android : hint =" type to filter"
110+ android : fontFamily =" sans-serif-light"
111+ android : layout_alignParentBottom =" true"
112+ android : textAppearance =" ?android:attr/textAppearanceSmall"
113+ />
114+
115+ <GridView
116+
117+ android : id =" @+id/filteredList"
118+ android : layout_width =" match_parent"
119+ android : layout_height =" match_parent"
120+ android : columnWidth =" 120dp"
121+ android : numColumns =" auto_fit"
122+ android : verticalSpacing =" 0dp"
123+ android : horizontalSpacing =" 0dp"
124+ android : scrollingCache =" true" android : smoothScrollbar =" true"
125+ android : clipChildren =" true" android : alwaysDrawnWithCache =" true"
126+ android : stretchMode =" columnWidth"
127+ android : gravity =" top"
128+ android : padding =" 0dp"
129+ android : layout_above =" @+id/contactSearch"
130+ />
131+
132+ <TextView
133+ android : id =" @+id/empty"
134+ android : text =" @string/empty_contact_list"
135+ android : layout_width =" fill_parent"
136+ android : layout_height =" fill_parent"
137+ android : gravity =" center"
138+ android : layout_gravity =" center_vertical"
139+ android : textSize =" 24dp"
140+ android : fontFamily =" sans-serif-light"
141+
142+ />
143+
144+ </RelativeLayout >
145+
146+ </info .guardianproject.otr.app.im.app.ContactListFilterView>
0 commit comments