| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<RelativeLayout |
| 3 |
xmlns:android="http://schemas.android.com/apk/res/android" |
| 4 |
android:id="@+id/teamColor" |
| 5 |
android:layout_width="fill_parent" |
| 6 |
android:layout_height="fill_parent" |
| 7 |
android:background="#8FFF" |
| 8 |
android:padding="3dip"> |
| 9 |
|
| 10 |
<ImageView |
| 11 |
android:id="@+id/imgDifficulty" |
| 12 |
android:layout_height="fill_parent" |
| 13 |
android:layout_width="wrap_content" |
| 14 |
android:adjustViewBounds="true" |
| 15 |
android:scaleType="centerInside"/> |
| 16 |
<ImageView |
| 17 |
|
| 18 |
android:layout_height="wrap_content" |
| 19 |
android:layout_width="wrap_content" |
| 20 |
android:layout_alignParentRight="true" |
| 21 |
android:layout_centerVertical="true" |
| 22 |
android:adjustViewBounds="true" |
| 23 |
android:scaleType="centerInside" |
| 24 |
android:background="#FDA"/> |
| 25 |
<ImageView |
| 26 |
android:id="@+id/teamCount" |
| 27 |
android:layout_height="fill_parent" |
| 28 |
android:layout_width="wrap_content" |
| 29 |
android:layout_alignParentRight="true" |
| 30 |
android:layout_alignTop="@id/imgDifficulty" |
| 31 |
android:layout_alignBottom="@id/imgDifficulty" |
| 32 |
android:adjustViewBounds="true" |
| 33 |
android:scaleType="centerInside" |
| 34 |
android:src="@drawable/hogcount"/> |
| 35 |
<TextView |
| 36 |
android:id="@+id/txtName" |
| 37 |
android:layout_height="fill_parent" |
| 38 |
android:layout_width="wrap_content" |
| 39 |
android:layout_toRightOf="@id/imgDifficulty" |
| 40 |
android:layout_toLeftOf="@id/teamCount" |
| 41 |
android:layout_alignTop="@id/imgDifficulty" |
| 42 |
android:layout_alignBottom="@id/imgDifficulty" |
| 43 |
android:gravity="center" |
| 44 |
android:textColor="#FFF"/> |
| 45 |
</RelativeLayout> |