project_files/Android-build/SDL-android-project/res/layout/team_selection_entry.xml
author Medo <smaxein@googlemail.com>
Sat, 18 Aug 2012 00:47:51 +0200
changeset 7508 763d3961400b
parent 5633 443b7c6543e5
permissions -rw-r--r--
Hedgeroid: Frantic scrabbling toward the deadline - Added activities for weapon/scheme editors (unfinished) - Completed tablet version of netroom activity - Added map preview - Fixed default team files having the wrong names - Restructuring - Updated frontlib JNA bindings to respect the latest frontlib changes

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/teamColor"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:background="#8FFF"
  android:padding="3dip">
  
  <ImageView
  	android:id="@+id/imgDifficulty"
  	android:layout_height="fill_parent"
  	android:layout_width="wrap_content"
  	android:adjustViewBounds="true"
  	android:scaleType="centerInside"/>
  <ImageView
  	
  	android:layout_height="wrap_content"
  	android:layout_width="wrap_content"
  	android:layout_alignParentRight="true"
  	android:layout_centerVertical="true"
  	android:adjustViewBounds="true"
  	android:scaleType="centerInside"
  	android:background="#FDA"/>
  <ImageView
  	android:id="@+id/teamCount"
  	android:layout_height="fill_parent"
  	android:layout_width="wrap_content"
  	android:layout_alignParentRight="true"
  	android:layout_alignTop="@id/imgDifficulty"
  	android:layout_alignBottom="@id/imgDifficulty"
  	android:adjustViewBounds="true"
  	android:scaleType="centerInside"
  	android:src="@drawable/hogcount"/>
  <TextView
  	android:id="@+id/txtName"
  	android:layout_height="fill_parent"
  	android:layout_width="wrap_content"
  	android:layout_toRightOf="@id/imgDifficulty"
  	android:layout_toLeftOf="@id/teamCount"
  	android:layout_alignTop="@id/imgDifficulty"
  	android:layout_alignBottom="@id/imgDifficulty"
  	android:gravity="center"
  	android:textColor="#FFF"/>
</RelativeLayout>