From 235c648a6828bdd8201e1151b7e2815a4daf1201 Mon Sep 17 00:00:00 2001 From: that Date: Sun, 24 Jan 2016 21:59:00 +0100 Subject: gui: use XML-based page for splash screen instead of a static jpg For devices with an unusual aspect ratio, stretching a bitmap to the screen resolution is sub-optimal. So let's reuse our XML engine that allows assembling the splash screen from individual parts. The splash page is loaded from a separate XML file for quick loading. Change-Id: I2d3dad26e42fcefaf563dacdf0ffa61f209dada1 --- gui/theme/landscape_hdpi/images/curtain.jpg | Bin 133833 -> 0 bytes gui/theme/landscape_hdpi/images/splashlogo.png | Bin 0 -> 15097 bytes gui/theme/landscape_hdpi/images/splashteamwin.png | Bin 0 -> 1680 bytes gui/theme/landscape_hdpi/splash.xml | 52 ++++++++++++++++++++++ 4 files changed, 52 insertions(+) delete mode 100644 gui/theme/landscape_hdpi/images/curtain.jpg create mode 100755 gui/theme/landscape_hdpi/images/splashlogo.png create mode 100755 gui/theme/landscape_hdpi/images/splashteamwin.png create mode 100755 gui/theme/landscape_hdpi/splash.xml (limited to 'gui/theme/landscape_hdpi') diff --git a/gui/theme/landscape_hdpi/images/curtain.jpg b/gui/theme/landscape_hdpi/images/curtain.jpg deleted file mode 100644 index 51ea6a571..000000000 Binary files a/gui/theme/landscape_hdpi/images/curtain.jpg and /dev/null differ diff --git a/gui/theme/landscape_hdpi/images/splashlogo.png b/gui/theme/landscape_hdpi/images/splashlogo.png new file mode 100755 index 000000000..337a7b6de Binary files /dev/null and b/gui/theme/landscape_hdpi/images/splashlogo.png differ diff --git a/gui/theme/landscape_hdpi/images/splashteamwin.png b/gui/theme/landscape_hdpi/images/splashteamwin.png new file mode 100755 index 000000000..f44a8febc Binary files /dev/null and b/gui/theme/landscape_hdpi/images/splashteamwin.png differ diff --git a/gui/theme/landscape_hdpi/splash.xml b/gui/theme/landscape_hdpi/splash.xml new file mode 100755 index 000000000..1a9fd5340 --- /dev/null +++ b/gui/theme/landscape_hdpi/splash.xml @@ -0,0 +1,52 @@ + + +
+ + TeamWin + TWRP + Default basic theme + preview.jpg + 1 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Recovery Project %tw_version% + + + +
+ -- cgit v1.2.3