From 856f9d9de4473a537ce4084271008fd40e230e8f Mon Sep 17 00:00:00 2001 From: Tadao Tanikawa Date: Sun, 19 Aug 2018 14:07:23 +0000 Subject: Replace top and bottom area's background image To improve scaling, replace top and bottom area's PNG image to SVG image. Bug-AGL: SPEC-1611 Change-Id: I547a96671c597cf3ac1ba1d3423fdb782bd93464 Signed-off-by: Tadao Tanikawa --- homescreen/qml/MediaAreaBlank.qml | 2 +- homescreen/qml/TopArea.qml | 2 +- .../qml/images/TopSection_NoText_NoIcons-01.png | Bin 2097 -> 0 bytes .../qml/images/TopSection_NoText_NoIcons-01.svg | 55 +++++++++++++++++++++ .../qml/images/Utility_Logo_Background-01.png | Bin 1150 -> 0 bytes .../qml/images/Utility_Logo_Background-01.svg | 53 ++++++++++++++++++++ homescreen/qml/images/images.qrc | 4 +- 7 files changed, 112 insertions(+), 4 deletions(-) delete mode 100644 homescreen/qml/images/TopSection_NoText_NoIcons-01.png create mode 100644 homescreen/qml/images/TopSection_NoText_NoIcons-01.svg delete mode 100644 homescreen/qml/images/Utility_Logo_Background-01.png create mode 100644 homescreen/qml/images/Utility_Logo_Background-01.svg diff --git a/homescreen/qml/MediaAreaBlank.qml b/homescreen/qml/MediaAreaBlank.qml index 2b888c8..c3a5f89 100644 --- a/homescreen/qml/MediaAreaBlank.qml +++ b/homescreen/qml/MediaAreaBlank.qml @@ -24,7 +24,7 @@ import MasterVolume 1.0 Image { width: 1080 height: 215 - source: './images/Utility_Logo_Background-01.png' + source: './images/Utility_Logo_Background-01.svg' property bool displayVolume: false; MouseArea { diff --git a/homescreen/qml/TopArea.qml b/homescreen/qml/TopArea.qml index 9cff3ed..2a75cf8 100644 --- a/homescreen/qml/TopArea.qml +++ b/homescreen/qml/TopArea.qml @@ -22,7 +22,7 @@ import QtQuick.Controls 2.0 Image { width: 1920 height: 218 - source: './images/TopSection_NoText_NoIcons-01.png' + source: './images/TopSection_NoText_NoIcons-01.svg' fillMode: Image.PreserveAspectCrop RowLayout { diff --git a/homescreen/qml/images/TopSection_NoText_NoIcons-01.png b/homescreen/qml/images/TopSection_NoText_NoIcons-01.png deleted file mode 100644 index cf9ec4e..0000000 Binary files a/homescreen/qml/images/TopSection_NoText_NoIcons-01.png and /dev/null differ diff --git a/homescreen/qml/images/TopSection_NoText_NoIcons-01.svg b/homescreen/qml/images/TopSection_NoText_NoIcons-01.svg new file mode 100644 index 0000000..6841001 --- /dev/null +++ b/homescreen/qml/images/TopSection_NoText_NoIcons-01.svg @@ -0,0 +1,55 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/homescreen/qml/images/Utility_Logo_Background-01.png b/homescreen/qml/images/Utility_Logo_Background-01.png deleted file mode 100644 index 21a602d..0000000 Binary files a/homescreen/qml/images/Utility_Logo_Background-01.png and /dev/null differ diff --git a/homescreen/qml/images/Utility_Logo_Background-01.svg b/homescreen/qml/images/Utility_Logo_Background-01.svg new file mode 100644 index 0000000..c289805 --- /dev/null +++ b/homescreen/qml/images/Utility_Logo_Background-01.svg @@ -0,0 +1,53 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/homescreen/qml/images/images.qrc b/homescreen/qml/images/images.qrc index fb991aa..37ad676 100644 --- a/homescreen/qml/images/images.qrc +++ b/homescreen/qml/images/images.qrc @@ -1,7 +1,7 @@ - TopSection_NoText_NoIcons-01.png - Utility_Logo_Background-01.png + TopSection_NoText_NoIcons-01.svg + Utility_Logo_Background-01.svg Utility_Logo_Grey-01.svg Utility_Music_Background-01.png Utility_Radio_Background-01.png -- cgit 1.2.3-korg