SHOW:
|
|
- or go back to the newest paste.
1 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
2 | android:layout_width="match_parent" | |
3 | android:layout_height="match_parent" | |
4 | android:orientation="vertical" > | |
5 | ||
6 | <ListView | |
7 | android:id="@+id/list" | |
8 | android:layout_width="match_parent" | |
9 | android:layout_height="0dp" | |
10 | android:layout_weight="1" /> | |
11 | ||
12 | <LinearLayout | |
13 | android:layout_width="match_parent" | |
14 | android:layout_height="wrap_content" | |
15 | - | android:layout_gravity="center_vertical" |
15 | + | android:layout_gravity="center_vertical" |
16 | android:orientation="horizontal" > | |
17 | ||
18 | <EditText | |
19 | android:id="@+id/filter" | |
20 | android:layout_width="0dp" | |
21 | android:layout_height="wrap_content" | |
22 | android:layout_weight="1" | |
23 | android:hint="@string/filter_hint" /> | |
24 | ||
25 | <TextView | |
26 | android:id="@+id/ending" | |
27 | android:layout_width="wrap_content" | |
28 | android:layout_height="wrap_content" | |
29 | android:paddingLeft="8dp" | |
30 | android:paddingRight="8dp" | |
31 | android:text=".ext" | |
32 | android:textAppearance="?android:attr/textAppearanceMedium" > | |
33 | </TextView> | |
34 | </LinearLayout> | |
35 | </LinearLayout> |