| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<RelativeLayout |
| 3 |
xmlns:android="http://schemas.android.com/apk/res/android" |
| 4 |
android:layout_width="fill_parent" |
| 5 |
android:layout_height="fill_parent" |
| 6 |
android:background="#8FFF" |
| 7 |
android:padding="3dip"> |
| 8 |
|
| 9 |
<ImageView |
| 10 |
android:id="@+id/imgDifficulty" |
| 11 |
android:layout_height="fill_parent" |
| 12 |
android:layout_width="wrap_content" |
| 13 |
android:adjustViewBounds="true" |
| 14 |
android:scaleType="centerInside"/> |
| 15 |
|
| 16 |
<TextView |
| 17 |
android:id="@+id/txtName" |
| 18 |
android:layout_height="fill_parent" |
| 19 |
android:layout_width="wrap_content" |
| 20 |
android:layout_toRightOf="@id/imgDifficulty" |
| 21 |
android:layout_toLeftOf="@id/teamCount" |
| 22 |
android:layout_alignTop="@id/imgDifficulty" |
| 23 |
android:layout_alignBottom="@id/imgDifficulty" |
| 24 |
android:gravity="center" |
| 25 |
android:textColor="#FFF"/> |
| 26 |
</RelativeLayout> |