1 <?xml version="1.0" encoding="utf-8"?> |
1 <?xml version="1.0" encoding="utf-8"?> |
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 xmlns:tools="http://schemas.android.com/tools" |
3 xmlns:tools="http://schemas.android.com/tools" |
4 android:layout_width="match_parent" |
4 android:layout_width="match_parent" |
5 android:layout_height="match_parent" |
5 android:layout_height="match_parent" |
6 android:orientation="vertical" > |
6 android:orientation="vertical" |
|
7 android:paddingBottom="3dp" |
|
8 android:paddingLeft="5dp" |
|
9 android:paddingRight="3dp" |
|
10 android:paddingTop="3dp" > |
7 |
11 |
8 <ListView |
12 <ListView |
9 android:id="@android:id/list" |
13 android:id="@android:id/list" |
10 android:layout_width="match_parent" |
14 android:layout_width="match_parent" |
11 android:layout_height="0dp" |
15 android:layout_height="0dp" |
12 android:layout_weight="1" |
16 android:layout_weight="1" |
13 android:cacheColorHint="@android:color/transparent" |
17 android:cacheColorHint="@android:color/transparent" /> |
14 /> |
|
15 |
18 |
16 <Button |
19 <TextView |
|
20 android:id="@id/android:empty" |
|
21 android:layout_width="match_parent" |
|
22 android:layout_height="0dp" |
|
23 android:layout_weight="1" |
|
24 android:gravity="center" |
|
25 android:text="@string/no_teams_in_list" /> |
|
26 |
|
27 <Button |
17 android:id="@+id/addTeamButton" |
28 android:id="@+id/addTeamButton" |
18 android:layout_width="match_parent" |
29 android:layout_width="match_parent" |
19 android:layout_height="wrap_content" |
30 android:layout_height="wrap_content" |
20 android:text="@string/teamlist_addteam" |
31 android:background="@drawable/button" |
21 android:background="@drawable/button" /> |
32 android:text="@string/teamlist_addteam" /> |
22 |
33 |
23 </LinearLayout> |
34 </LinearLayout> |