Project

General

Profile

Download (2.46 KB) Statistics
| Branch: | Revision:

sokoban / distorted-sokoban / src / main / res / layout / toc_item.xml @ 1f6d1786

1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout
3
	xmlns:android="http://schemas.android.com/apk/res/android"
4
	android:layout_width="match_parent"	
5
	android:layout_height="wrap_content"
6
	android:baselineAligned="false"
7
	android:orientation="horizontal"
8
	android:paddingTop="4dp"
9
	android:paddingBottom="4dp">
10

    
11
   	<LinearLayout
12
   		android:layout_width="0dp"
13
 		android:layout_height="wrap_content"
14
 		android:layout_weight="1"
15
 		android:orientation="vertical"
16
 		android:layout_gravity="center_vertical">
17

    
18
 		<LinearLayout
19
	        android:layout_width="match_parent"
20
	        android:layout_height="wrap_content"
21
	        android:orientation="horizontal"
22
	        android:paddingTop="4dp"
23
	        android:paddingBottom="4dp">
24

    
25
		    <TextView
26
    		    android:id="@+id/leftNumber"
27
    		    android:layout_width="match_parent"
28
    		    android:layout_height="wrap_content"
29
    		    android:textStyle="bold"/>
30
   		    <TextView
31
    		    android:id="@+id/leftRecord"
32
    		    android:layout_width="wrap_content"
33
    		    android:layout_height="wrap_content"/>
34
    	</LinearLayout>
35

    
36
   	    <ImageView
37
   		    android:id="@+id/leftImage"
38
   		    android:layout_width="wrap_content"
39
   		    android:layout_height="wrap_content"
40
   		    android:contentDescription="@string/level_image"
41
   		    android:layout_margin="8dp"
42
   		    android:background="@drawable/icon_border"/>
43
	</LinearLayout>
44
	<LinearLayout
45
   		android:layout_width="0dp"
46
 		android:layout_height="wrap_content"
47
 		android:layout_weight="1"
48
 		android:orientation="vertical"
49
 		android:layout_gravity="center_vertical">
50

    
51
 		<LinearLayout
52
	        android:layout_width="match_parent"
53
	        android:layout_height="wrap_content"
54
	        android:orientation="horizontal"
55
	        android:paddingTop="4dp"
56
	        android:paddingBottom="4dp">
57

    
58
		    <TextView
59
    		    android:id="@+id/rightNumber"
60
    		    android:layout_width="match_parent"
61
    		    android:layout_height="wrap_content"
62
    		    android:textStyle="bold"/>
63
   		    <TextView
64
    		    android:id="@+id/rightRecord"
65
    		    android:layout_width="wrap_content"
66
    		    android:layout_height="wrap_content"/>
67
    	</LinearLayout>
68

    
69
   	    <ImageView
70
   		    android:id="@+id/rightImage"
71
   		    android:layout_width="wrap_content"
72
   		    android:layout_height="wrap_content"
73
   		    android:contentDescription="@string/level_image"
74
   		    android:layout_margin="8dp"
75
   		    android:background="@drawable/icon_border"/>
76
 	</LinearLayout>    
77
</LinearLayout>
(4-4/4)