Project

General

Profile

Download (7.25 KB) Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / res / layout / info.xml @ 8ce05bed

1 1237d25d Leszek Koltunski
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout  xmlns:android="http://schemas.android.com/apk/res/android"
3 97a4ae23 Leszek Koltunski
    android:id="@+id/mainLayout"
4 1237d25d Leszek Koltunski
    android:layout_width="match_parent"
5
    android:layout_height="match_parent"
6
    android:orientation="vertical">
7
8 5b22f901 leszek
    <org.distorted.info.InfoSurfaceView
9
        android:id="@+id/infoSurfaceView"
10 1237d25d Leszek Koltunski
        android:layout_width="match_parent"
11 97a4ae23 Leszek Koltunski
        android:layout_height="0dp"
12 21efc7d7 Leszek Koltunski
        android:layout_weight="1.3"/>
13 1237d25d Leszek Koltunski
14 8bf8fe70 Leszek Koltunski
    <LinearLayout
15 5b22f901 leszek
        android:id="@+id/infoLayout"
16 1237d25d Leszek Koltunski
        android:layout_width="match_parent"
17 97a4ae23 Leszek Koltunski
        android:layout_height="0dp"
18 74d088c3 Leszek Koltunski
        android:layout_weight="1.0"
19 840ad93e leszek
        android:background="?lightC"
20 74d088c3 Leszek Koltunski
        android:orientation="vertical" >
21 21efc7d7 Leszek Koltunski
22
        <LinearLayout
23 5b22f901 leszek
            android:id="@+id/infoLayoutName"
24 21efc7d7 Leszek Koltunski
            android:layout_width="fill_parent"
25
            android:layout_height="0dp"
26
            android:layout_weight="1"
27
            android:paddingLeft="5dp"
28
            android:paddingRight="5dp"
29 840ad93e leszek
            android:background="?normalC"
30 21efc7d7 Leszek Koltunski
            android:orientation="horizontal">
31
32
            <TextView
33 5b22f901 leszek
                android:id="@+id/infoDetailsName1"
34 21efc7d7 Leszek Koltunski
                android:layout_width="0dp"
35
                android:layout_height="match_parent"
36
                android:layout_weight="1.0"
37
                android:gravity="center_vertical|start"
38
                android:paddingStart="5dp"
39
                android:textSize="26sp"
40
                android:singleLine="true"
41
                android:maxLines="1"
42
                android:text="@string/config_name"/>
43
44
            <TextView
45 5b22f901 leszek
                android:id="@+id/infoDetailsName2"
46 21efc7d7 Leszek Koltunski
                android:layout_width="0dp"
47
                android:layout_height="match_parent"
48 e8e0d66a Leszek Koltunski
                android:layout_weight="2.1"
49 21efc7d7 Leszek Koltunski
                android:gravity="center_vertical|start"
50
                android:paddingStart="5dp"
51
                android:textSize="26sp"
52
                android:singleLine="true"
53
                android:maxLines="1"/>
54
55
        </LinearLayout>
56
57
        <LinearLayout
58 5b22f901 leszek
            android:id="@+id/infoLayoutDifficulty"
59 21efc7d7 Leszek Koltunski
            android:layout_width="fill_parent"
60
            android:layout_height="0dp"
61
            android:layout_weight="1"
62
            android:paddingLeft="5dp"
63
            android:paddingRight="5dp"
64 840ad93e leszek
            android:background="?normalC"
65 21efc7d7 Leszek Koltunski
            android:orientation="horizontal">
66
67
            <TextView
68 5b22f901 leszek
                android:id="@+id/infoDifficultyTitle"
69 21efc7d7 Leszek Koltunski
                android:layout_width="0dp"
70
                android:layout_height="match_parent"
71
                android:layout_weight="1.0"
72
                android:gravity="center_vertical|start"
73
                android:paddingStart="5dp"
74
                android:textSize="26sp"
75
                android:singleLine="true"
76
                android:maxLines="1"
77
                android:text="@string/config_difficulty"/>
78
79
            <LinearLayout
80 5b22f901 leszek
                android:id="@+id/infoDifficultyLayout"
81 21efc7d7 Leszek Koltunski
                android:layout_width="0dp"
82
                android:layout_height="match_parent"
83
                android:layout_weight="2.5"
84 e8e0d66a Leszek Koltunski
                android:gravity="start"
85 21efc7d7 Leszek Koltunski
                android:paddingTop="20dp"
86
                android:paddingBottom="20dp"
87
                android:orientation="horizontal">
88
89
                <ImageView
90 5b22f901 leszek
                    android:id="@+id/infoDifficulty0"
91 21efc7d7 Leszek Koltunski
                    android:layout_width="0dp"
92
                    android:layout_height="match_parent"
93 8375250f Leszek Koltunski
                    android:layout_weight="1"/>
94 21efc7d7 Leszek Koltunski
95
                <ImageView
96 5b22f901 leszek
                    android:id="@+id/infoDifficulty1"
97 21efc7d7 Leszek Koltunski
                    android:layout_width="0dp"
98
                    android:layout_height="match_parent"
99 8375250f Leszek Koltunski
                    android:layout_weight="1"/>
100 21efc7d7 Leszek Koltunski
101
                <ImageView
102 5b22f901 leszek
                    android:id="@+id/infoDifficulty2"
103 21efc7d7 Leszek Koltunski
                    android:layout_width="0dp"
104
                    android:layout_height="match_parent"
105 8375250f Leszek Koltunski
                    android:layout_weight="1"/>
106 21efc7d7 Leszek Koltunski
107
                <ImageView
108 5b22f901 leszek
                    android:id="@+id/infoDifficulty3"
109 21efc7d7 Leszek Koltunski
                    android:layout_width="0dp"
110
                    android:layout_height="match_parent"
111 8375250f Leszek Koltunski
                    android:layout_weight="1"/>
112 21efc7d7 Leszek Koltunski
113
                <ImageView
114 5b22f901 leszek
                    android:id="@+id/infoDifficulty4"
115 21efc7d7 Leszek Koltunski
                    android:layout_width="0dp"
116
                    android:layout_height="match_parent"
117 8375250f Leszek Koltunski
                    android:layout_weight="1"/>
118 21efc7d7 Leszek Koltunski
119
            </LinearLayout>
120
121
        </LinearLayout>
122
123 b45b986a leszek
        <LinearLayout
124 5b22f901 leszek
            android:id="@+id/infoLayoutAuthor"
125 21efc7d7 Leszek Koltunski
            android:layout_width="fill_parent"
126
            android:layout_height="0dp"
127
            android:layout_weight="1"
128
            android:paddingLeft="5dp"
129
            android:paddingRight="5dp"
130 840ad93e leszek
            android:background="?normalC"
131 21efc7d7 Leszek Koltunski
            android:orientation="horizontal">
132
133
            <TextView
134 5b22f901 leszek
                android:id="@+id/infoDetailsAuthor1"
135 21efc7d7 Leszek Koltunski
                android:layout_width="0dp"
136
                android:layout_height="match_parent"
137
                android:layout_weight="1.0"
138
                android:gravity="center_vertical|start"
139
                android:paddingStart="5dp"
140
                android:textSize="26sp"
141
                android:singleLine="true"
142
                android:maxLines="1"
143 b45b986a leszek
                android:text="@string/config_author"/>
144 21efc7d7 Leszek Koltunski
145 b45b986a leszek
            <TextView
146 5b22f901 leszek
                android:id="@+id/infoDetailsAuthor2"
147 21efc7d7 Leszek Koltunski
                android:layout_width="0dp"
148
                android:layout_height="match_parent"
149 e8e0d66a Leszek Koltunski
                android:layout_weight="2.1"
150 b45b986a leszek
                android:gravity="center_vertical|start"
151
                android:paddingStart="5dp"
152
                android:textSize="26sp"
153
                android:singleLine="true"
154
                android:maxLines="1"/>
155 21efc7d7 Leszek Koltunski
156 b45b986a leszek
        </LinearLayout>
157 21efc7d7 Leszek Koltunski
158 b45b986a leszek
        <LinearLayout
159 5b22f901 leszek
            android:id="@+id/infoLayoutYear"
160 b45b986a leszek
            android:layout_width="fill_parent"
161
            android:layout_height="0dp"
162
            android:layout_weight="1"
163
            android:paddingLeft="5dp"
164
            android:paddingRight="5dp"
165 840ad93e leszek
            android:background="?normalC"
166 b45b986a leszek
            android:orientation="horizontal">
167 21efc7d7 Leszek Koltunski
168 b45b986a leszek
            <TextView
169 5b22f901 leszek
                android:id="@+id/infoDetailsYear1"
170 b45b986a leszek
                android:layout_width="0dp"
171
                android:layout_height="match_parent"
172
                android:layout_weight="1.0"
173
                android:gravity="center_vertical|start"
174
                android:paddingStart="5dp"
175
                android:textSize="26sp"
176
                android:singleLine="true"
177
                android:maxLines="1"
178
                android:text="@string/config_year"/>
179
180
            <TextView
181 5b22f901 leszek
                android:id="@+id/infoDetailsYear2"
182 b45b986a leszek
                android:layout_width="0dp"
183
                android:layout_height="match_parent"
184
                android:layout_weight="2.1"
185
                android:gravity="center_vertical|start"
186
                android:paddingStart="5dp"
187
                android:textSize="26sp"
188
                android:singleLine="true"
189
                android:maxLines="1"/>
190 21efc7d7 Leszek Koltunski
191
        </LinearLayout>
192
193 8bf8fe70 Leszek Koltunski
    </LinearLayout>
194 1237d25d Leszek Koltunski
195
    <LinearLayout
196
        android:id="@+id/lowerBar"
197
        android:layout_width="match_parent"
198
        android:layout_height="100dp"
199 97a4ae23 Leszek Koltunski
        android:layout_gravity="end"
200 1237d25d Leszek Koltunski
        android:orientation="horizontal"
201 840ad93e leszek
        android:background="?lightC">
202 1237d25d Leszek Koltunski
    </LinearLayout>
203
204
</LinearLayout>