project_files/Android-build/SDL-android-project/res/layout/activity_teamlist.xml
author Medo <smaxein@googlemail.com>
Mon, 20 Aug 2012 20:19:35 +0200
changeset 7582 714310efad8f
permissions -rw-r--r--
Hedgeroid: Final sprint to the deadline - Changed local game setup to use the new fragments from the netroom - Pulled team editing into the main activity menu / action bar - Cleanups, renames, anything to make the code look better ;)

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent">
  
  <include layout="@layout/background"/>

  <TextView
    android:id="@android:id/empty"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="center"
    android:text="@string/teamlist_empty" />
  
  <ListView
  	android:id="@android:id/list"
  	android:layout_height="fill_parent"
  	android:layout_width="wrap_content"
  	android:layout_margin="3dp"
  	android:background="@drawable/box" />

  <ImageButton
   	android:id="@+id/btnAdd"
   	android:layout_width="wrap_content"
   	android:layout_height="50dip"
   	android:layout_alignParentBottom="true"
   	android:layout_alignParentRight="true"
   	android:adjustViewBounds="true"
   	android:scaleType="centerInside"
   	android:background="@android:color/transparent"
   	android:src="@drawable/settings"
   	android:contentDescription="@string/teamlist_add_content_description"/>

</RelativeLayout>