aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/qml/MediaAreaBlank.qml
diff options
context:
space:
mode:
Diffstat (limited to 'homescreen/qml/MediaAreaBlank.qml')
-rw-r--r--homescreen/qml/MediaAreaBlank.qml18
1 files changed, 14 insertions, 4 deletions
diff --git a/homescreen/qml/MediaAreaBlank.qml b/homescreen/qml/MediaAreaBlank.qml
index ebddb0c..60d0c92 100644
--- a/homescreen/qml/MediaAreaBlank.qml
+++ b/homescreen/qml/MediaAreaBlank.qml
@@ -22,8 +22,8 @@ import AGL.Demo.Controls 1.0
import MasterVolume 1.0
Image {
- width: 1080
- height: 215
+ width: parent.width
+ height: parent.height
source: './images/Utility_Logo_Background-01.svg'
property bool displayVolume: false;
@@ -40,14 +40,14 @@ Image {
}
Image {
- id: logo_image
+ id: logo_image
anchors.centerIn: parent
source: './images/Utility_Logo_Grey-01.svg'
}
Timer {
id: volume_timer
- interval: 5000; running: false; repeat: false
+ interval: 3000; running: false; repeat: false
onTriggered: displayVolume = false
}
@@ -56,11 +56,13 @@ Image {
PropertyChanges { target: master_volume; opacity: 1.0 }
PropertyChanges { target: slider; enabled: true }
PropertyChanges { target: logo_image; opacity: 0.0 }
+ PropertyChanges { target: speech_chrome; visible: false }
},
State { when: !displayVolume;
PropertyChanges { target: master_volume; opacity: 0.0 }
PropertyChanges { target: slider; enabled: false }
PropertyChanges { target: logo_image; opacity: 1.0 }
+ PropertyChanges { target: speech_chrome; visible: speech_chrome.agentPresent }
}
]
@@ -121,4 +123,12 @@ Image {
}
}
}
+
+ SpeechChrome {
+ id: speech_chrome
+ anchors.left: parent.left
+ anchors.right: parent.right
+ anchors.bottom: parent.bottom
+ height: parent.height
+ }
}