project_files/Android-build/SDL-android-project/res/layout-large/listview_room.xml
author Medo <smaxein@googlemail.com>
Mon, 23 Jul 2012 00:17:06 +0200
changeset 7352 641f11cdd319
parent 7349 12fdfd2038d4
permissions -rw-r--r--
Hedgeroid: Reworked player and room lists, added menus, added playername query Still work in progress...

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
	android:layout_width="fill_parent"
	android:layout_height="wrap_content" 
	android:paddingTop="4dp"
	android:paddingBottom="4dp">
	
<TextView
    android:id="@+id/roomname"
    android:layout_width="0dp"
    android:layout_height="wrap_content"
    android:layout_gravity="center_vertical"
    android:layout_weight="1.5"
    android:padding="3dp"
    android:drawablePadding="5dp"
    android:gravity="left|center_vertical"
    android:singleLine="true"
    android:textAppearance="?android:attr/textAppearanceMedium"/>

<include layout="@layout/roomlist_player_team_count" />

<TextView
    android:id="@+id/owner"
	android:layout_width="0dp"
	android:layout_height="wrap_content"
	android:layout_weight="0.5"
	android:padding="3dp"
	android:gravity="left"
	android:layout_gravity="center_vertical"
	android:singleLine="true"/>

<TextView
    android:id="@+id/map"
	android:layout_width="0dp"
	android:layout_height="wrap_content"
	android:layout_weight="0.5"
	android:padding="3dp"
	android:gravity="left"
	android:layout_gravity="center_vertical"
	android:singleLine="true"/>

<TextView
    android:id="@+id/scheme"
	android:layout_width="0dp"
	android:layout_height="wrap_content"
	android:layout_weight="0.5"
	android:padding="3dp"
	android:gravity="left"
	android:layout_gravity="center_vertical"
	android:singleLine="true"/>

<TextView
    android:id="@+id/weapons"
	android:layout_width="0dp"
	android:layout_height="wrap_content"
	android:layout_weight="0.5"
	android:padding="3dp"
	android:gravity="left"
	android:layout_gravity="center_vertical"
	android:singleLine="true"/>

</LinearLayout>