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