-
Notifications
You must be signed in to change notification settings - Fork 7
/
aspect-ratio-5-4.xml
492 lines (480 loc) · 15 KB
/
aspect-ratio-5-4.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
<!--
4:3 aspect ratio
based on 600x480
-->
<theme>
<!--
///
All Views
///
-->
<view name="system,gamelist">
<helpsystem name="help">
<pos>0.5 0.942708333333333</pos><!-- 300 452.5 -->
<fontSize>${helpsystemFontSize}</fontSize><!-- 16 -->
<entrySpacing>0.021875</entrySpacing><!-- 14 -->
<iconTextSpacing>0.00625</iconTextSpacing><!-- 4 -->
</helpsystem>
<image name="help-background">
<size>1 0.114583333333333</size><!-- 600 55 -->
</image>
</view>
<fontSize name="small">
<variables>
<helpsystemFontSize>0.033333333333333</helpsystemFontSize><!-- 16 -->
</variables>
</fontSize>
<fontSize name="medium,large">
<variables>
<helpsystemFontSize>0.0375</helpsystemFontSize><!-- 18 -->
</variables>
</fontSize>
<variant name="
gamelist-list-metadata-miximage-nh,
gamelist-list-metadata-cover-nh,
gamelist-list-metadata-screenshot-marquee-nh,
gamelist-list-cover-nh,
gamelist-list-screenshot-marquee-nh,
gamelist-list-basic-nh
">
<view name="system,gamelist">
<image name="help-background">
<visible>false</visible>
</image>
<helpsystem name="help">
<origin>0 0</origin>
<pos>1 1</pos>
</helpsystem>
</view>
</variant>
<!--
///
System View
///
-->
<view name="system">
<carousel name="system-carousel">
<maxItemCount>3.6</maxItemCount>
</carousel>
<image name="system-logo">
<maxSize>0.6 0.4</maxSize>
</image>
</view>
<!--
///
Gamelist View - Basic & List Variants
///
-->
<variant name="
gamelist-list-basic,
gamelist-list-basic-nh,
gamelist-list-metadata-miximage,
gamelist-list-metadata-miximage-nh,
gamelist-list-metadata-cover,
gamelist-list-metadata-cover-nh,
gamelist-list-metadata-screenshot-marquee,
gamelist-list-metadata-screenshot-marquee-nh,
gamelist-list-cover,
gamelist-list-cover-nh,
gamelist-list-screenshot-marquee,
gamelist-list-screenshot-marquee-nh
">
<view name="gamelist">
<image name="logo">
<maxSize>0.359375 0.104166666666667</maxSize><!-- 230 50 -->
</image>
<textlist name="gamelist-list">
<pos>0.0546875 0.25</pos><!-- 35 120 -->
<fontSize>${gamelistFontSize}</fontSize>
</textlist>
</view>
<fontSize name="small">
<variables>
<gamelistFontSize>0.033333333333333</gamelistFontSize><!-- 16 -->
</variables>
</fontSize>
<fontSize name="medium">
<variables>
<gamelistFontSize>0.041666666666667</gamelistFontSize><!-- 20 -->
</variables>
</fontSize>
<fontSize name="large">
<variables>
<gamelistFontSize>0.05</gamelistFontSize><!-- 24 -->
</variables>
</fontSize>
</variant>
<variant name="
gamelist-list-basic,
gamelist-list-metadata-miximage,
gamelist-list-metadata-cover,
gamelist-list-metadata-screenshot-marquee,
gamelist-list-cover,
gamelist-list-screenshot-marquee
">
<view name="gamelist">
<textlist name="gamelist-list">
<lineSpacing>${gamelistLineSpacing}</lineSpacing>
</textlist>
</view>
<fontSize name="small">
<variables>
<gamelistLineSpacing>1.785</gamelistLineSpacing>
</variables>
</fontSize>
<fontSize name="medium">
<variables>
<gamelistLineSpacing>1.575</gamelistLineSpacing>
</variables>
</fontSize>
<fontSize name="large">
<variables>
<gamelistLineSpacing>1.45</gamelistLineSpacing>
</variables>
</fontSize>
</variant>
<variant name="
gamelist-list-basic-nh,
gamelist-list-metadata-miximage-nh,
gamelist-list-metadata-cover-nh,
gamelist-list-metadata-screenshot-marquee-nh,
gamelist-list-cover-nh,
gamelist-list-screenshot-marquee-nh
">
<view name="gamelist">
<textlist name="gamelist-list">
<lineSpacing>${gamelistLineSpacing}</lineSpacing>
</textlist>
</view>
<fontSize name="small">
<variables>
<gamelistLineSpacing>1.745</gamelistLineSpacing>
</variables>
</fontSize>
<fontSize name="medium">
<variables>
<gamelistLineSpacing>1.67</gamelistLineSpacing>
</variables>
</fontSize>
<fontSize name="large">
<variables>
<gamelistLineSpacing>1.52</gamelistLineSpacing>
</variables>
</fontSize>
</variant>
<!--
///
Gamelist View - Basic Variant
///
-->
<variant name="
gamelist-list-basic,
gamelist-list-basic-nh
">
<view name="gamelist">
<image name="logo">
<pos>0.5 0.130208333333333</pos><!-- 320 62.5 -->
</image>
</view>
</variant>
<variant name="gamelist-list-basic">
<view name="gamelist">
<textlist name="gamelist-list">
<size>0.890625 0.583333333333333</size><!-- 570 280 -->
</textlist>
</view>
</variant>
<variant name="gamelist-list-basic-nh">
<view name="gamelist">
<textlist name="gamelist-list">
<size>0.890625 0.6875</size><!-- 570 330 -->
</textlist>
</view>
</variant>
<!--
///
Gamelist View - List Variants
///
-->
<variant name="
gamelist-list-metadata-miximage,
gamelist-list-metadata-miximage-nh,
gamelist-list-metadata-cover,
gamelist-list-metadata-cover-nh,
gamelist-list-metadata-screenshot-marquee,
gamelist-list-metadata-screenshot-marquee-nh,
gamelist-list-cover,
gamelist-list-cover-nh,
gamelist-list-screenshot-marquee,
gamelist-list-screenshot-marquee-nh
">
<view name="gamelist">
<image name="gamelist-background">
<size>0.5 1</size><!-- 320 480 -->
</image>
<image name="logo">
<pos>0.25 0.130208333333333</pos><!-- 160 62.5 -->
</image>
</view>
</variant>
<variant name="
gamelist-list-metadata-miximage,
gamelist-list-metadata-cover,
gamelist-list-metadata-screenshot-marquee,
gamelist-list-cover,
gamelist-list-screenshot-marquee
">
<view name="gamelist">
<textlist name="gamelist-list">
<size>0.359375 0.583333333333333</size><!-- 230 280 -->
</textlist>
</view>
</variant>
<variant name="
gamelist-list-metadata-miximage-nh,
gamelist-list-metadata-cover-nh,
gamelist-list-metadata-screenshot-marquee-nh,
gamelist-list-cover-nh,
gamelist-list-screenshot-marquee-nh
">
<view name="gamelist">
<textlist name="gamelist-list">
<size>0.359375 0.6875</size><!-- 230 330 -->
</textlist>
</view>
</variant>
<!--
///
Gamelist View - List Variants: Metadata
///
-->
<variant name="
gamelist-list-metadata-miximage,
gamelist-list-metadata-miximage-nh,
gamelist-list-metadata-cover,
gamelist-list-metadata-cover-nh,
gamelist-list-metadata-screenshot-marquee,
gamelist-list-metadata-screenshot-marquee-nh
">
<view name="gamelist">
<image name="game-art-background">
<pos>0.5 0</pos><!-- 320 0 -->
<size>0.5 0.520833333333333</size><!-- 320 250 -->
</image>
<text name="description">
<size>0.3984375 0.25</size><!-- 255 120 -->
<fontSize>${gamelistDescriptionFontSize}</fontSize>
<lineSpacing>${gamelistDescriptionLineSpacing}</lineSpacing>
</text>
</view>
<fontSize name="small">
<variables>
<gamelistDescriptionFontSize>0.033333333333333</gamelistDescriptionFontSize><!-- 16 -->
<gamelistDescriptionLineSpacing>1.5</gamelistDescriptionLineSpacing>
</variables>
</fontSize>
<fontSize name="medium">
<variables>
<gamelistDescriptionFontSize>0.041666666666667</gamelistDescriptionFontSize><!-- 20 -->
<gamelistDescriptionLineSpacing>1.49</gamelistDescriptionLineSpacing>
</variables>
</fontSize>
<fontSize name="large">
<variables>
<gamelistDescriptionFontSize>0.041666666666667</gamelistDescriptionFontSize><!-- 20 -->
<gamelistDescriptionLineSpacing>1.49</gamelistDescriptionLineSpacing>
</variables>
</fontSize>
</variant>
<variant name="
gamelist-list-metadata-miximage,
gamelist-list-metadata-cover,
gamelist-list-metadata-screenshot-marquee
">
<view name="gamelist">
<text name="description">
<pos>0.55078125 0.583333333333333</pos><!-- 352.5 280 -->
</text>
</view>
</variant>
<variant name="
gamelist-list-metadata-miximage-nh,
gamelist-list-metadata-cover-nh,
gamelist-list-metadata-screenshot-marquee-nh
">
<view name="gamelist">
<image name="releasedate-icon">
<pos>0.55078125 0.616666666666667</pos><!-- 352.5 296 -->
<size>0 0.041666666666667</size><!-- - 20 -->
<visible>true</visible>
</image>
<datetime name="releasedate">
<pos>0.59375 0.616666666666667</pos><!-- 380 296 -->
<fontSize>${gamelistMetadataFontSize}</fontSize>
<size>0 ${gamelistMetadataFontSize}</size>
<format>${gamelistReleaseDateFormat}</format>
<visible>true</visible>
</datetime>
<rating name="rating">
<origin>1 0.5</origin>
<pos>0.953125 0.614583333333333</pos><!-- 610 295 -->
<size>0 0.041666666666667</size><!-- - 20 -->
<visible>true</visible>
</rating>
<text name="description">
<pos>0.55078125 0.682291666666667</pos><!-- 352.5 327.5 -->
</text>
</view>
<fontSize name="small">
<variables>
<gamelistMetadataFontSize>0.033333333333333</gamelistMetadataFontSize><!-- 16 -->
<gamelistReleaseDateFormat>%Y-%m-%d</gamelistReleaseDateFormat>
</variables>
</fontSize>
<fontSize name="medium">
<variables>
<gamelistMetadataFontSize>0.039583333333333</gamelistMetadataFontSize><!-- 19 -->
<gamelistReleaseDateFormat>%Y-%m-%d</gamelistReleaseDateFormat>
</variables>
</fontSize>
<fontSize name="large">
<variables>
<gamelistMetadataFontSize>0.045833333333333</gamelistMetadataFontSize><!-- 22 -->
<gamelistReleaseDateFormat>%Y-%m</gamelistReleaseDateFormat>
</variables>
</fontSize>
</variant>
<!--
///
Gamelist View - List Variants: Metadata & Miximage
///
-->
<variant name="
gamelist-list-metadata-miximage,
gamelist-list-metadata-miximage-nh
">
<view name="gamelist">
<badges name="badges">
<pos>0.9609375 0.052083333333333</pos><!-- 615 25 -->
<size>0.0625 0.770833333333333</size><!-- 40 370 -->
<itemMargin>-1 0.0075</itemMargin>
</badges>
<video name="game-art">
<pos>0.75 0.25</pos><!-- 480 120 -->
<maxSize>0.40625 0.375</maxSize><!-- 260 180 -->
<zIndex>2</zIndex>
</video>
</view>
</variant>
<!--
///
Gamelist View - List Variants: Metadata & Boxart
///
-->
<variant name="
gamelist-list-metadata-cover,
gamelist-list-metadata-cover-nh
">
<view name="gamelist">
<badges name="badges">
<pos>0.9609375 0.052083333333333</pos><!-- 615 25 -->
<size>0.0625 0.770833333333333</size><!-- 40 370 -->
<itemMargin>-1 0.0075</itemMargin>
</badges>
<video name="game-art">
<pos>0.75 0.25</pos><!-- 480 120 -->
<maxSize>0.40625 0.375</maxSize><!-- 260 180 -->
<zIndex>2</zIndex>
</video>
</view>
</variant>
<!--
///
Gamelist View - List Variants: Metadata, Screenshot & Marquee
///
-->
<variant name="
gamelist-list-metadata-screenshot-marquee,
gamelist-list-metadata-screenshot-marquee-nh
">
<view name="gamelist">
<badges name="badges">
<pos>0.9609375 0.052083333333333</pos><!-- 615 25 -->
<size>0.0625 0.770833333333333</size><!-- 40 370 -->
<itemMargin>-1 0.0075</itemMargin>
</badges>
<image name="marquee">
<origin>0.5 1</origin>
<pos>0.75 0.541666666666667</pos><!-- 480 260 -->
<maxSize>0.296875 0.125</maxSize><!-- 190 60 -->
</image>
<video name="game-art">
<pos>0.75 0.25</pos><!-- 480 120 -->
<cropSize>0.5 0.541666666666667</cropSize><!-- 320 260 -->
<zIndex>2</zIndex>
</video>
</view>
</variant>
<!--
///
Gamelist View - List Variants: Boxart
///
-->
<variant name="gamelist-list-cover">
<view name="gamelist">
<video name="game-art">
<pos>0.734375 0.447916666666667</pos><!-- 470 215 -->
<maxSize>0.40625 0.75</maxSize><!-- 260 360 -->
</video>
</view>
</variant>
<variant name="gamelist-list-cover-nh">
<view name="gamelist">
<video name="game-art">
<pos>0.734375 0.5</pos><!-- 470 240 -->
<maxSize>0.40625 0.864583333333333</maxSize><!-- 260 415 -->
</video>
</view>
</variant>
<!--
///
Gamelist View - List Variants: Screenshot & Marquee
///
-->
<variant name="
gamelist-list-screenshot-marquee,
gamelist-list-screenshot-marquee-nh
">
<view name="gamelist">
<badges name="badges">
<pos>0.9609375 0.052083333333333</pos><!-- 615 25 -->
<size>0.0625 0.770833333333333</size><!-- 40 370 -->
<itemMargin>-1 0.0075</itemMargin>
</badges>
</view>
</variant>
<variant name="gamelist-list-screenshot-marquee">
<view name="gamelist">
<image name="marquee">
<pos>0.75 0.442708333333333</pos><!-- 480 212.5 -->
<maxSize>0.359375 0.625</maxSize><!-- 230 300 -->
</image>
<video name="game-art">
<pos>0.75 0.442708333333333</pos><!-- 480 212.5 -->
<cropSize>0.5 0.885416666666667</cropSize><!-- 320 425 -->
</video>
</view>
</variant>
<variant name="gamelist-list-screenshot-marquee-nh">
<view name="gamelist">
<image name="marquee">
<pos>0.75 0.5</pos><!-- 480 240 -->
<maxSize>0.359375 0.625</maxSize><!-- 230 300 -->
</image>
<video name="game-art">
<pos>0.75 0.5</pos><!-- 480 240 -->
<cropSize>0.5 1</cropSize><!-- 320 480-->
</video>
</view>
</variant>
</theme>