project_files/Android-build/SDL-android-project/res/layout/team_selector.xml
author Medo <smaxein@googlemail.com>
Sun, 12 Aug 2012 22:46:23 +0200
changeset 7485 0481bd74267c
parent 5625 9add7b92c5f0
permissions -rw-r--r--
Hedgeroid: - (hopefully) completed the frontlib JNA mappings - added documentation - Changed more code to use frontlib for ini reading/writing - tried to make everything work again that was working before - Teamlist can now be used to add and remove teams - Netplay now correctly handles team additions when being room chief - Fixed TeamCreatorActivity so that editing teams works

<?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"/>

  <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"/>
 <TextView
  	android:id="@+id/txtInfo"
  	android:layout_height="wrap_content"
  	android:layout_width="fill_parent"
  	android:layout_alignParentBottom="true"
  	android:layout_toRightOf="@id/btnBack"
  	android:layout_toLeftOf="@id/btnAdd"
  	android:layout_alignTop="@id/btnBack"
  	android:layout_margin="3dp"
  	android:gravity="center"
  	android:background="@drawable/box"/>
  	
  

  <LinearLayout
  	android:orientation="horizontal"
  	android:layout_width="fill_parent"
  	android:layout_height="fill_parent"
  	android:layout_above="@id/txtInfo"
  	android:layout_margin="3dp">
  	
	  <ListView
	  	android:id="@+id/selectedTeams"
	  	android:layout_height="fill_parent"
	  	android:layout_width="wrap_content"
	  	android:layout_margin="3dp"
	  	android:background="@drawable/box"
	  	android:layout_weight="1"/>
	  	
	  <ListView
	  	android:id="@+id/availableTeams"
	  	android:layout_height="fill_parent"
	  	android:layout_width="wrap_content"
	  	android:layout_margin="3dp"
	  	android:background="@drawable/box"
	  	android:layout_weight="1"/>
  </LinearLayout>
</RelativeLayout>