summaryrefslogtreecommitdiffstats
path: root/gui/devices/800x480
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2015-03-11 17:17:15 +0100
committerEthan Yonker <dees_troy@teamw.in>2015-03-13 00:41:34 +0100
commit591b9205365e6bc1cefece2e0a05f29b9cddee32 (patch)
tree23f9902b89fd368efe0fd5e661426c4bac6cb06c /gui/devices/800x480
parentHandle sdk version 22 as lollipop (diff)
downloadandroid_bootable_recovery-591b9205365e6bc1cefece2e0a05f29b9cddee32.tar
android_bootable_recovery-591b9205365e6bc1cefece2e0a05f29b9cddee32.tar.gz
android_bootable_recovery-591b9205365e6bc1cefece2e0a05f29b9cddee32.tar.bz2
android_bootable_recovery-591b9205365e6bc1cefece2e0a05f29b9cddee32.tar.lz
android_bootable_recovery-591b9205365e6bc1cefece2e0a05f29b9cddee32.tar.xz
android_bootable_recovery-591b9205365e6bc1cefece2e0a05f29b9cddee32.tar.zst
android_bootable_recovery-591b9205365e6bc1cefece2e0a05f29b9cddee32.zip
Diffstat (limited to 'gui/devices/800x480')
-rw-r--r--gui/devices/800x480/res/images/background.jpgbin9822 -> 0 bytes
-rw-r--r--gui/devices/800x480/res/images/twrplogo.pngbin0 -> 4286 bytes
-rw-r--r--gui/devices/800x480/res/ui.xml39
3 files changed, 23 insertions, 16 deletions
diff --git a/gui/devices/800x480/res/images/background.jpg b/gui/devices/800x480/res/images/background.jpg
deleted file mode 100644
index af8253145..000000000
--- a/gui/devices/800x480/res/images/background.jpg
+++ /dev/null
Binary files differ
diff --git a/gui/devices/800x480/res/images/twrplogo.png b/gui/devices/800x480/res/images/twrplogo.png
new file mode 100644
index 000000000..309012fc4
--- /dev/null
+++ b/gui/devices/800x480/res/images/twrplogo.png
Binary files differ
diff --git a/gui/devices/800x480/res/ui.xml b/gui/devices/800x480/res/ui.xml
index 436732a47..49c2475f4 100644
--- a/gui/devices/800x480/res/ui.xml
+++ b/gui/devices/800x480/res/ui.xml
@@ -15,10 +15,10 @@
<resources>
<resource name="font" type="font" filename="RobotoCondensed-Regular.ttf" size="16" fallback="Roboto-Condensed-16" />
- <resource name="base" type="image" filename="background.jpg" />
+ <resource name="twrplogo" type="image" filename="twrplogo" retainaspect="1" />
<resource name="main_button" type="image" filename="button" />
- <resource name="file_icon" type="image" filename="file" />
- <resource name="folder_icon" type="image" filename="folder" />
+ <resource name="file_icon" type="image" filename="file" retainaspect="1" />
+ <resource name="folder_icon" type="image" filename="folder" retainaspect="1" />
<resource name="progress" type="animation" filename="indeterminate" />
<resource name="progress_empty" type="image" filename="progress_empty" />
<resource name="progress_full" type="image" filename="progress_fill" />
@@ -31,13 +31,13 @@
<resource name="sort_button" type="image" filename="sort-button" />
<resource name="minus_button" type="image" filename="minus-button" />
<resource name="plus_button" type="image" filename="plus-button" />
- <resource name="home_icon" type="image" filename="home-icon" />
- <resource name="back_icon" type="image" filename="back-icon" />
- <resource name="console_button" type="image" filename="console-toggle" />
- <resource name="slider" type="image" filename="slider" />
- <resource name="slider-used" type="image" filename="slider-used" />
- <resource name="slider-touch" type="image" filename="slider-touch" />
- <resource name="unlock-icon" type="image" filename="unlock" />
+ <resource name="home_icon" type="image" filename="home-icon" retainaspect="1" />
+ <resource name="back_icon" type="image" filename="back-icon" retainaspect="1" />
+ <resource name="console_button" type="image" filename="console-toggle" retainaspect="1" />
+ <resource name="slider" type="image" filename="slider" retainaspect="1" />
+ <resource name="slider-used" type="image" filename="slider-used" retainaspect="1" />
+ <resource name="slider-touch" type="image" filename="slider-touch" retainaspect="1" />
+ <resource name="unlock-icon" type="image" filename="unlock" retainaspect="1" />
<resource name="keyboard1" type="image" filename="keyboard1" />
<resource name="keyboard2" type="image" filename="keyboard2" />
<resource name="keyboard3" type="image" filename="keyboard3" />
@@ -173,8 +173,7 @@
<variable name="listbox_background" value="#303030" />
<variable name="listbox_spacing" value="12" />
<variable name="sd_plus_x" value="280" />
- <variable name="lock_x" value="250" />
- <variable name="lock_y" value="90" />
+ <variable name="lock_y" value="150" />
<variable name="filemanager_select_x" value="610" />
<variable name="filemanager_select_y" value="413" />
<variable name="backup_name_text_y" value="440" />
@@ -226,20 +225,28 @@
<template name="header">
<background color="#000000FF" />
+ <object type="fill" color="%button_fill_color%">
+ <placement x="0" y="0" w="800" h="58" />
+ </object>
+
+ <object type="fill" color="%highlight%">
+ <placement x="0" y="58" w="800" h="2" />
+ </object>
+
<object type="image">
- <image resource="base" />
- <placement x="0" y="0" />
+ <image resource="twrplogo" />
+ <placement x="35" y="29" placement="4" />
</object>
<object type="text" color="%text_color%">
<font resource="font" />
- <placement x="250" y="2" />
+ <placement x="70" y="2" />
<text>Team Win Recovery Project v%tw_version%</text>
</object>
<object type="text" color="%text_color%">
<font resource="font" />
- <placement x="250" y="37" />
+ <placement x="70" y="37" />
<conditions>
<condition var1="tw_no_battery_percent" var2="0" />
<condition var1="tw_battery" op="&gt;" var2="0" />