X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=SampleMediaApp%2Fqml%2FSampleMediaApp%2Fmain.qml;fp=SampleMediaApp%2Fqml%2FSampleMediaApp%2Fmain.qml;h=7d63362855bb8a35ab13650ab02c129302359a26;hb=1876ff11a182afb1cf0180f188a2e13ad7b8095c;hp=0000000000000000000000000000000000000000;hpb=bf0f33bec5ad705666dff6c821334524c1b81583;p=staging%2FHomeScreen.git diff --git a/SampleMediaApp/qml/SampleMediaApp/main.qml b/SampleMediaApp/qml/SampleMediaApp/main.qml new file mode 100644 index 0000000..7d63362 --- /dev/null +++ b/SampleMediaApp/qml/SampleMediaApp/main.qml @@ -0,0 +1,30 @@ +import QtQuick 2.0 + +Rectangle { + width: 400 + height: 300 + + + Rectangle { + width: parent.width / 2 + height: parent.height + color: "yellow" + + Text { + text: qsTr("SampleMediaApp") + anchors.centerIn: parent + } + } + + Rectangle { + width: parent.width / 2 + height: parent.height + x: parent.width / 2 + color: "yellow" + + Text { + text: qsTr("default size: 400x300px") + anchors.centerIn: parent + } + } +}