project_files/Android-build/SDL-android-project/res/layout/fragment_teamlist.xml
changeset 7582 714310efad8f
parent 7476 2fb781bbdd51
--- a/project_files/Android-build/SDL-android-project/res/layout/fragment_teamlist.xml	Mon Aug 20 20:16:37 2012 +0200
+++ b/project_files/Android-build/SDL-android-project/res/layout/fragment_teamlist.xml	Mon Aug 20 20:19:35 2012 +0200
@@ -3,21 +3,32 @@
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:orientation="vertical" >
+    android:orientation="vertical"
+    android:paddingBottom="3dp"
+    android:paddingLeft="5dp"
+    android:paddingRight="3dp"
+    android:paddingTop="3dp" >
 
-    <ListView 
+    <ListView
         android:id="@android:id/list"
         android:layout_width="match_parent"
         android:layout_height="0dp"
-        android:layout_weight="1" 
-        android:cacheColorHint="@android:color/transparent"
-        />
+        android:layout_weight="1"
+        android:cacheColorHint="@android:color/transparent" />
 
-	<Button
+    <TextView
+        android:id="@id/android:empty"
+        android:layout_width="match_parent"
+        android:layout_height="0dp"
+        android:layout_weight="1"
+        android:gravity="center"
+        android:text="@string/no_teams_in_list" />
+    
+    <Button
         android:id="@+id/addTeamButton"
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
-        android:text="@string/teamlist_addteam"
-        android:background="@drawable/button" />
+        android:background="@drawable/button"
+        android:text="@string/teamlist_addteam" />
 
 </LinearLayout>
\ No newline at end of file