Permalink
Browse files

BB10.1 refresh

  • Loading branch information...
1 parent 6339c52 commit 4ed63dfa1564b80b12aabf8661fd4b2490b0ba38 @CodeHoarder CodeHoarder committed Mar 25, 2013
Showing with 2,544 additions and 1,452 deletions.
  1. +4 −3 SensorDemo/assets/collisiondetector.qml
  2. +1 −2 SensorDemo/assets/compass.qml
  3. +8 −5 SensorDemo/assets/flashlight.qml
  4. +40 −27 SensorDemo/assets/metalfinder.qml
  5. +42 −29 SensorDemo/assets/motionalarm.qml
  6. +3 −6 SensorDemo/assets/rotation3D.qml
  7. +1 −1 accelgame/assets/main.qml
  8. BIN accelgame/icon.png
  9. +20 −0 accounts/assets/720x720/BackgroundImage.qml
  10. +3 −0 accounts/assets/720x720/images/background.amd
  11. BIN accounts/assets/720x720/images/background.png
  12. +1 −3 accounts/assets/AccountEditor.qml
  13. +1 −3 accounts/assets/AccountViewer.qml
  14. +20 −0 accounts/assets/BackgroundImage.qml
  15. BIN accounts/assets/images/action_addaccount.png
  16. BIN accounts/assets/images/action_editaccount.png
  17. BIN accounts/assets/images/background.png
  18. +1 −3 accounts/assets/main.qml
  19. +1 −0 accounts/bar-descriptor.xml
  20. BIN accounts/icon.png
  21. +3 −0 addressbook/.cproject
  22. +24 −0 addressbook/assets/720x720/AddressbookScrollView.qml
  23. +20 −0 addressbook/assets/720x720/BackgroundImage.qml
  24. +3 −0 addressbook/assets/720x720/images/background.amd
  25. BIN addressbook/assets/720x720/images/background.png
  26. +21 −0 addressbook/assets/AddressbookScrollView.qml
  27. +20 −0 addressbook/assets/BackgroundImage.qml
  28. +32 −31 addressbook/assets/ContactEditor.qml
  29. +40 −40 addressbook/assets/ContactViewer.qml
  30. BIN addressbook/assets/images/action_addcontact.png
  31. BIN addressbook/assets/images/action_editcontact.png
  32. +1 −3 addressbook/assets/main.qml
  33. +1 −0 addressbook/bar-descriptor.xml
  34. BIN addressbook/icon.png
  35. +24 −0 bannerads/assets/720x720/BanneradsScrollView.qml
  36. +21 −0 bannerads/assets/720x720/WeatherIcon.qml
  37. +21 −0 bannerads/assets/BanneradsScrollView.qml
  38. +5 −4 bannerads/assets/Weather.qml
  39. +19 −0 bannerads/assets/WeatherIcon.qml
  40. BIN bannerads/assets/images/ratio.png
  41. +163 −114 bannerads/assets/main.qml
  42. BIN bannerads/icon.png
  43. +45 −19 barcodeinvoker/assets/main.qml
  44. BIN barcodeinvoker/icon.png
  45. +3 −0 barcodereader/.cproject
  46. BIN barcodereader/assets/720x720/images/bottom_cover.png
  47. BIN barcodereader/assets/720x720/images/top_cover.png
  48. +1 −1 barcodereader/assets/main.qml
  49. BIN barcodereader/icon.png
  50. +11 −3 barcodescanner/assets/main.qml
  51. +0 −3 barcodescanner/src/BarcodeDecoder.cpp
  52. BIN bbminvitetodownload/icon.png
  53. +24 −0 bbmprofile/assets/720x720/BbmProfileScrollView.qml
  54. +21 −0 bbmprofile/assets/BbmProfileScrollView.qml
  55. +29 −23 bbmprofile/assets/UpdateProfile.qml
  56. +80 −76 bbmprofile/assets/profile.qml
  57. BIN bbmprofile/icon.png
  58. +1 −1 bbmprofile/src/main.cpp
  59. +24 −0 bbmprofilebox/assets/720x720/BbmProfileBoxScrollView.qml
  60. +21 −0 bbmprofilebox/assets/BbmProfileBoxScrollView.qml
  61. +60 −56 bbmprofilebox/assets/NewProfileBoxPage.qml
  62. BIN bbmprofilebox/icon.png
  63. BIN bbmregistration/icon.png
  64. BIN bluetoothsppchat/assets/images/device_discovery.png
  65. BIN bluetoothsppchat/assets/images/local_device.png
  66. BIN bluetoothsppchat/assets/images/send.png
  67. BIN bluetoothsppchat/icon.png
  68. +3 −0 calendar/.cproject
  69. +1 −0 calendar/bar-descriptor.xml
  70. BIN calendar/icon.png
  71. +134 −0 callapizza/assets/720x720/AnimationContainer.qml
  72. +20 −0 callapizza/assets/720x720/ResultListView.qml
  73. +134 −0 callapizza/assets/AnimationContainer.qml
  74. +20 −0 callapizza/assets/ResultListView.qml
  75. +13 −108 callapizza/assets/main.qml
  76. BIN callapizza/icon.png
  77. +2 −5 circularslider/Makefile
  78. +3 −1 circularslider/bar-descriptor.xml
  79. +3 −5 circularslider/circularslider.pro
  80. BIN circularslider/icon.png
  81. +1 −1 circularslider/src/main.cpp
  82. BIN compass/assets/720x720/images/COMPASS-CIRCLE-BG.png
  83. BIN compass/icon.png
  84. +1 −0 custommapview/assets/bubble.qml
  85. BIN custommapview/assets/images/clearpin.png
  86. BIN custommapview/assets/images/on_map_pin.png
  87. BIN custommapview/assets/images/pin.png
  88. BIN custommapview/assets/images/url.png
  89. +4 −1 custommapview/assets/main.qml
  90. +1 −1 custommapview/assets/pin.qml
  91. +2 −2 custommapview/bar-descriptor.xml
  92. BIN custommapview/icon.png
  93. +2 −6 databasecreation/assets/main.qml
  94. BIN databasecrud/assets/images/create.png
  95. BIN databasecrud/assets/images/delete.png
  96. BIN databasecrud/assets/images/retrieve.png
  97. BIN databasecrud/assets/images/update.png
  98. +24 −0 dialogs/assets/720x720/DialogsScrollView.qml
  99. +22 −0 dialogs/assets/DialogsScrollView.qml
  100. +67 −65 dialogs/assets/main.qml
  101. +1 −0 dialogs/bar-descriptor.xml
  102. +24 −0 dictaphone/assets/720x720/DictaphoneScrollView.qml
  103. +21 −0 dictaphone/assets/DictaphoneScrollView.qml
  104. +114 −0 dictaphone/assets/PlayerPage.qml
  105. BIN dictaphone/assets/images/delete.png
  106. +192 −182 dictaphone/assets/main.qml
  107. BIN dictaphone/icon.png
  108. +7 −7 docs/dictaphone.qdoc
  109. BIN docs/images/addressbook-example.png
  110. BIN docs/images/addressbook-example1.png
  111. BIN docs/images/addressbook-example2.png
  112. BIN docs/images/bannerads-example.png
  113. BIN docs/images/barcodeinvoker-example.png
  114. BIN docs/images/barcodeinvoker-example1.png
  115. BIN docs/images/barcodescanner-example.png
  116. BIN docs/images/barcodescanner-example1.png
  117. BIN docs/images/bluetoothsppchat-example.png
  118. BIN docs/images/bluetoothsppchat-example2.png
  119. BIN docs/images/calendar-example.png
  120. BIN docs/images/calendar-example1.png
  121. BIN docs/images/calendar-example2.png
  122. BIN docs/images/custommapview-example.png
  123. BIN docs/images/custommapview-example1.png
  124. BIN docs/images/custommapview-example2.png
  125. BIN docs/images/databasecrud-example.png
  126. BIN docs/images/databasecrud-example1.png
  127. BIN docs/images/databasecrud-example2.png
  128. BIN docs/images/databasecrud-example3.png
  129. BIN docs/images/dictaphone-example1.png
  130. BIN docs/images/filepicker-example.png
  131. BIN docs/images/httptest-example.png
  132. BIN docs/images/httptest-example1.png
  133. BIN docs/images/invokeclient-example.png
  134. BIN docs/images/invokeclient-example2.png
  135. BIN docs/images/invoketarget-example.png
  136. BIN docs/images/led-example.png
  137. BIN docs/images/locationdiagnostics-example.png
  138. BIN docs/images/locationdiagnostics-example1.png
  139. BIN docs/images/mapview-example.png
  140. BIN docs/images/mapview-example1.png
  141. BIN docs/images/mapview-example2.png
  142. BIN docs/images/nfcdemo-example.png
  143. BIN docs/images/nfcdemo-example1.png
  144. BIN docs/images/nfcdemo-example2.png
  145. BIN docs/images/notebook-example.png
  146. BIN docs/images/notebook-example1.png
  147. BIN docs/images/notebook-example2.png
  148. BIN docs/images/paymentservice-example.png
  149. BIN docs/images/persistentobjects-example.png
  150. BIN docs/images/persistentobjects-example1.png
  151. BIN docs/images/persistentobjects-example2.png
  152. BIN docs/images/persistentobjects-example3.png
  153. BIN docs/images/placepicker-example.png
  154. BIN docs/images/placepicker-example1.png
  155. BIN docs/images/scratchpad-example.png
  156. BIN docs/images/scratchpad-example1.png
  157. BIN docs/images/scratchpad-example2.png
  158. BIN docs/images/scratchpad-example3.png
  159. BIN docs/images/sensordemo-example.png
  160. BIN docs/images/sensordemo-example1.png
  161. BIN docs/images/sensordemo-example2.png
  162. BIN docs/images/sensordemo-example3.png
  163. BIN docs/images/sensordemo-example4.png
  164. BIN docs/images/sensordemo-example5.png
  165. BIN docs/images/sensordemo-example6.png
  166. BIN docs/images/webmapview-example.png
  167. +1 −0 docs/pages.qdoc
  168. +1 −2 docs/paymentservice.qdoc
  169. +24 −0 filepicker/assets/720x720/FilepickerScrollView.qml
  170. +21 −0 filepicker/assets/FilepickerScrollView.qml
  171. +144 −142 filepicker/assets/main.qml
  172. +3 −1 filepicker/bar-descriptor.xml
  173. +1 −0 filtereddatamodel/bar-descriptor.xml
  174. BIN httptest/assets/images/get.png
  175. BIN httptest/assets/images/post.png
  176. +2 −0 httptest/assets/main.qml
  177. BIN httptest/icon.png
  178. +3 −0 imagerotation/.cproject
  179. BIN invokeclient/assets/images/icon.png
  180. BIN invokeclient/assets/images/query.png
  181. BIN invokeclient/icon.png
  182. +4 −0 led/assets/main.qml
  183. +1 −0 led/bar-descriptor.xml
  184. +1 −0 loader/assets/main.qml
  185. +0 −2 locationdiagnostics/assets/LabelLabel.qml
  186. +0 −2 locationdiagnostics/assets/LocationPage.qml
  187. +0 −1 locationdiagnostics/assets/ToggleLabelButton.qml
  188. +0 −1 locationdiagnostics/assets/WarpDrive.qml
  189. BIN locationdiagnostics/assets/images/background.png
  190. BIN locationdiagnostics/assets/images/pin.png
  191. BIN locationdiagnostics/assets/images/track.png
  192. +0 −2 locationdiagnostics/assets/main.qml
  193. BIN mapview/assets/images/bubble.png
  194. BIN mapview/assets/images/clearpin.png
  195. BIN mapview/assets/images/on_map_pin.png
  196. BIN mapview/assets/images/pin.png
  197. BIN mapview/assets/images/url.png
  198. +10 −6 mapview/assets/main.qml
  199. +21 −10 mapview/assets/pin.qml
  200. +2 −2 mapview/bar-descriptor.xml
  201. BIN mapview/icon.png
  202. +1 −1 mapview/mapview.pro
  203. +1 −0 messages/bar-descriptor.xml
  204. +3 −0 notebook/.cproject
  205. BIN notebook/assets/images/action_addnote.png
  206. +1 −0 notebook/bar-descriptor.xml
  207. BIN notebook/icon.png
  208. +1 −0 notifications/bar-descriptor.xml
  209. +3 −0 nowplaying/.cproject
  210. +3 −0 orientation/.cproject
  211. BIN orientation/icon.png
  212. BIN paymentservice/assets/images/buy.png
  213. BIN paymentservice/assets/images/cancelpurchases.png
  214. BIN paymentservice/assets/images/purchases.png
  215. +29 −10 paymentservice/assets/main.qml
  216. BIN paymentservice/icon.png
  217. BIN persistentobjects/assets/images/create.png
  218. BIN persistentobjects/assets/images/delete.png
  219. BIN persistentobjects/assets/images/icon1.png
  220. BIN persistentobjects/assets/images/retrieve.png
  221. BIN persistentobjects/assets/images/update.png
  222. +24 −0 placepicker/assets/720x720/PlacepickerScrollView.qml
  223. +21 −0 placepicker/assets/PlacepickerScrollView.qml
  224. +137 −134 placepicker/assets/main.qml
  225. +1 −0 placepicker/bar-descriptor.xml
  226. +210 −210 pushCollector/.cproject
  227. BIN pushCollector/assets/images/actionbar/markallicon.png
  228. BIN pushCollector/assets/images/actionbar/registericon.png
  229. BIN pushCollector/assets/images/actionbar/unregistericon.png
  230. +2 −0 pushCollector/bar-descriptor.xml
  231. +22 −13 pushCollector/readme.txt
  232. +1 −1 pushCollector/src/app.cpp
  233. +3 −0 routemapinvoker/.cproject
  234. +1 −0 routemapinvoker/assets/main.qml
  235. +1 −0 routemapinvoker/bar-descriptor.xml
  236. +24 −0 scratchpad/assets/720x720/ScratchpadScrollView.qml
  237. +21 −0 scratchpad/assets/ScratchpadScrollView.qml
  238. +67 −65 scratchpad/assets/main.qml
  239. +5 −5 scratchpad/src/draw.cpp
  240. +3 −0 tossgame/.cproject
  241. +1 −0 tossgame/assets/main.qml
  242. +1 −0 vegetablesdatamodel/bar-descriptor.xml
  243. +18 −2 webmapview/assets/Map.qml
  244. BIN webmapview/assets/images/clearpin.png
  245. BIN webmapview/assets/images/map.png
  246. BIN webmapview/assets/images/on_map_pin.png
  247. BIN webmapview/assets/images/pin.png
@@ -18,6 +18,8 @@ import bb.multimedia 1.0
import QtMobility.sensors 1.2
Container {
+ bottomPadding: 20
+
//! [0]
attachedObjects: [
SystemSound {
@@ -74,8 +76,7 @@ Container {
text: qsTr("Reflectance: %1%").arg((irProximity.reflectance * 100).toPrecision(4))
textStyle {
base: SystemDefaults.TextStyles.BodyText
- color: Color.Yellow
- fontWeight: FontWeight.Bold
+ color: Color.White
}
}
@@ -89,7 +90,7 @@ Container {
text: proximity.close ? qsTr("!! Mayday, Mayday !!") : qsTr("Cruising")
textStyle {
base: SystemDefaults.TextStyles.BigText
- color: Color.Red
+ color: proximity.close ? Color.Red : Color.White
}
animations: [
@@ -85,8 +85,7 @@ Container {
text: qsTr("%1\u00B0").arg(compass.azimuth.toFixed())
textStyle {
base: SystemDefaults.TextStyles.BodyText
- color: Color.Yellow
- fontWeight: FontWeight.Bold
+ color: Color.White
}
}
//! [1]
@@ -18,6 +18,10 @@ import QtMobility.sensors 1.2
import Flashlight 1.0
Container {
+ topPadding: 20
+ leftPadding: 20
+ rightPadding: 20
+
//! [0]
attachedObjects: [
Flashlight {
@@ -148,9 +152,9 @@ Container {
}
}
- Divider {}
-
Label {
+ topMargin: 50
+
text: qsTr("Gyro Threshold: %1").arg(gyroSlider.value.toFixed())
}
@@ -167,9 +171,8 @@ Container {
text: qsTr("Luminosity: %1 lux").arg(Math.round(light.val))
textStyle {
- base: SystemDefaults.TextStyles.BodyText
- color: Color.Yellow
- fontWeight: FontWeight.Bold
+ base: SystemDefaults.TextStyles.TitleText
+ color: Color.White
lineHeight: 2
}
}
@@ -18,6 +18,10 @@ import QtMobility.sensors 1.2
import bb.vibrationController 1.0
Container {
+ leftPadding: 20
+ rightPadding: 20
+ bottomPadding: 20
+
//! [0]
attachedObjects: [
Magnetometer {
@@ -73,42 +77,51 @@ Container {
}
//! [1]
- //! [2]
- Label {
- horizontalAlignment: HorizontalAlignment.Left
+ Container {
+ horizontalAlignment: HorizontalAlignment.Fill
verticalAlignment: VerticalAlignment.Bottom
- text: qsTr("X: %1").arg((metalfinder.x * 1000000).toPrecision(5))
- textStyle {
- base: SystemDefaults.TextStyles.BodyText
- color: Color.Yellow
- fontWeight: FontWeight.Bold
+ layout: StackLayout {
+ orientation: LayoutOrientation.LeftToRight
}
- }
- //! [2]
- Label {
- horizontalAlignment: HorizontalAlignment.Center
- verticalAlignment: VerticalAlignment.Bottom
+ //! [2]
+ Label {
+ layoutProperties: StackLayoutProperties {
+ spaceQuota: 1
+ }
- text: qsTr("Y: %1").arg((metalfinder.y * 1000000).toPrecision(5))
- textStyle {
- base: SystemDefaults.TextStyles.BodyText
- color: Color.Yellow
- fontWeight: FontWeight.Bold
+ text: qsTr("X: %1").arg((metalfinder.x * 1000000).toPrecision(5))
+ textStyle {
+ base: SystemDefaults.TextStyles.BodyText
+ color: Color.White
+ }
}
- }
+ //! [2]
- Label {
- horizontalAlignment: HorizontalAlignment.Right
- verticalAlignment: VerticalAlignment.Bottom
+ Label {
+ layoutProperties: StackLayoutProperties {
+ spaceQuota: 1
+ }
- text: qsTr("Z: %1").arg((metalfinder.z * 1000000).toPrecision(5))
+ text: qsTr("Y: %1").arg((metalfinder.y * 1000000).toPrecision(5))
+ textStyle {
+ base: SystemDefaults.TextStyles.BodyText
+ color: Color.White
+ }
+ }
- textStyle {
- base: SystemDefaults.TextStyles.BodyText
- color: Color.Yellow
- fontWeight: FontWeight.Bold
+ Label {
+ layoutProperties: StackLayoutProperties {
+ spaceQuota: 1
+ }
+
+ text: qsTr("Z: %1").arg((metalfinder.z * 1000000).toPrecision(5))
+
+ textStyle {
+ base: SystemDefaults.TextStyles.BodyText
+ color: Color.White
+ }
}
}
}
@@ -18,6 +18,10 @@ import bb.multimedia 1.0
import QtMobility.sensors 1.2
Container {
+ leftPadding: 20
+ rightPadding: 20
+ bottomPadding: 20
+
//! [0]
attachedObjects: [
SystemSound {
@@ -71,50 +75,59 @@ Container {
text: alarm.movement ? qsTr("ALARM: Movement Detected!") : qsTr("No Movement Detected")
textStyle {
- base: SystemDefaults.TextStyles.BigText
- color: alarm.movement ? Color.Red : Color.Green
+ base: SystemDefaults.TextStyles.TitleText
+ color: alarm.movement ? Color.Red : Color.White
}
}
//! [1]
- //! [2]
- Label {
- horizontalAlignment: HorizontalAlignment.Left
+ Container {
+ horizontalAlignment: HorizontalAlignment.Fill
verticalAlignment: VerticalAlignment.Bottom
- text: qsTr("X: %1").arg((alarm.x).toPrecision(5))
+ layout: StackLayout {
+ orientation: LayoutOrientation.LeftToRight
+ }
+
+ //! [2]
+ Label {
+ layoutProperties: StackLayoutProperties {
+ spaceQuota: 1
+ }
- textStyle {
- base: SystemDefaults.TextStyles.BodyText
- color: Color.Yellow
- fontWeight: FontWeight.Bold
+ text: qsTr("X: %1").arg((alarm.x).toPrecision(5))
+
+ textStyle {
+ base: SystemDefaults.TextStyles.BodyText
+ color: Color.White
+ }
}
- }
- //! [2]
+ //! [2]
- Label {
- horizontalAlignment: HorizontalAlignment.Center
- verticalAlignment: VerticalAlignment.Bottom
+ Label {
+ layoutProperties: StackLayoutProperties {
+ spaceQuota: 1
+ }
- text: qsTr("Y: %1").arg((alarm.y).toPrecision(5))
+ text: qsTr("Y: %1").arg((alarm.y).toPrecision(5))
- textStyle {
- base: SystemDefaults.TextStyles.BodyText
- color: Color.Yellow
- fontWeight: FontWeight.Bold
+ textStyle {
+ base: SystemDefaults.TextStyles.BodyText
+ color: Color.White
+ }
}
- }
- Label {
- horizontalAlignment: HorizontalAlignment.Right
- verticalAlignment: VerticalAlignment.Bottom
+ Label {
+ layoutProperties: StackLayoutProperties {
+ spaceQuota: 1
+ }
- text: qsTr("Z: %1").arg((alarm.z).toPrecision(5))
+ text: qsTr("Z: %1").arg((alarm.z).toPrecision(5))
- textStyle {
- base: SystemDefaults.TextStyles.BodyText
- color: Color.Yellow
- fontWeight: FontWeight.Bold
+ textStyle {
+ base: SystemDefaults.TextStyles.BodyText
+ color: Color.White
+ }
}
}
}
@@ -68,8 +68,7 @@ Container {
text: qsTr("%1\u00B0").arg(rotation.x.toPrecision(4))
textStyle {
base: SystemDefaults.TextStyles.BodyText
- color: Color.Yellow
- fontWeight: FontWeight.Bold
+ color: Color.White
}
}
//! [1]
@@ -83,8 +82,7 @@ Container {
text: qsTr("%1\u00B0").arg(rotation.y.toPrecision(4))
textStyle {
base: SystemDefaults.TextStyles.BodyText
- color: Color.Yellow
- fontWeight: FontWeight.Bold
+ color: Color.White
}
}
@@ -97,8 +95,7 @@ Container {
text: qsTr("%1\u00B0").arg(rotation.z.toPrecision(4))
textStyle {
base: SystemDefaults.TextStyles.BodyText
- color: Color.Yellow
- fontWeight: FontWeight.Bold
+ color: Color.White
}
}
}
@@ -47,7 +47,7 @@ Page {
preferredWidth: 600
layoutProperties: StackLayoutProperties {
- spaceQuota: 2
+ spaceQuota: 7
}
layout: DockLayout {}
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,20 @@
+/* Copyright (c) 2012 Research In Motion Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import bb.cascades 1.0
+
+ImageView {
+ imageSource: "asset:///images/background.amd"
+}
@@ -0,0 +1,3 @@
+#RimCascadesAssetMetaData version=1.0
+source: "background.png"
+sliceMargins: 0 0 0 700
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -53,11 +53,9 @@ Page {
layout: DockLayout {}
// The background image
- ImageView {
+ BackgroundImage {
horizontalAlignment: HorizontalAlignment.Fill
verticalAlignment: VerticalAlignment.Fill
-
- imageSource: "asset:///images/background.png"
}
Container {
@@ -26,11 +26,9 @@ Page {
layout: DockLayout {}
// The background image
- ImageView {
+ BackgroundImage {
horizontalAlignment: HorizontalAlignment.Fill
verticalAlignment: VerticalAlignment.Fill
-
- imageSource: "asset:///images/background.png"
}
//! [0]
@@ -0,0 +1,20 @@
+/* Copyright (c) 2012 Research In Motion Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import bb.cascades 1.0
+
+ImageView {
+ imageSource: "asset:///images/background.png"
+}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -26,11 +26,9 @@ NavigationPane {
layout: DockLayout {}
// The background image
- ImageView {
+ BackgroundImage {
horizontalAlignment: HorizontalAlignment.Fill
verticalAlignment: VerticalAlignment.Fill
-
- imageSource: "asset:///images/background.png"
}
Container {
@@ -57,6 +57,7 @@
<!-- Unique author ID assigned by signing authority. Required if using debug tokens. -->
<!-- <authorId>ABC1234YjsnUk235h</authorId> -->
+ <cascadesTheme>bright</cascadesTheme>
<initialWindow>
<systemChrome>none</systemChrome>
<transparent>false</transparent>
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.

0 comments on commit 4ed63df

Please sign in to comment.