summaryrefslogtreecommitdiffstats
path: root/gui/theme/portrait_mdpi/splash.xml
blob: 31f793380da246035e671cc34b9b2319bc09322c (plain) (blame)
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
<?xml version="1.0"?>
<recovery>
	<details>
		<resolution width="480" height="800"/>
		<author>TeamWin</author>
		<title>TWRP</title>
		<description>Default basic theme</description>
		<preview>preview.jpg</preview>
		<themeversion>1</themeversion>
	</details>

	<resources>
		<font name="font_l" filename="RobotoCondensed-Regular.ttf" size="24"/>
		<image name="splashlogo" filename="splashlogo" retainaspect="1"/>
		<image name="splashteamwin" filename="splashteamwin" retainaspect="1"/>
	</resources>

	<variables>
		<variable name="screen_width" value="480"/>
		<variable name="screen_height" value="800"/>
		<variable name="background_color" value="#222222"/>
		<variable name="header_color" value="#555555"/>
		<variable name="accent_color" value="#0090CA"/>
	</variables>

	<pages>
		<page name="splash">
			<background color="%background_color%"/>

			<fill color="%header_color%">
				<placement x="0" y="0" w="%screen_width%" h="200"/>
			</fill>

			<image>
				<image resource="splashlogo"/>
				<placement x="240" y="200" placement="4"/>
			</image>

			<image>
				<image resource="splashteamwin"/>
				<placement x="240" y="660" placement="4"/>
			</image>

			<text color="%header_color%">
				<font resource="font_l"/>
				<placement x="240" y="680" placement="5"/>
				<text>Recovery Project %tw_version%</text>
			</text>
		</page>
	</pages>
</recovery>