blob: 35bb7a4e8e0a53b829b624da6887a7492261dbc2 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You 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.
-->
<s:Panel xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
width="250" height="475">
<!-- Properties of the parent ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<s:layout>
<s:VerticalLayout gap="10"
paddingTop="15" paddingLeft="5" paddingRight="5" paddingBottom="15"
horizontalAlign="center"/>
</s:layout>
<!-- Metadata ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- Styles ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- Script ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<!-- Declarations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<!-- UI components ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<s:BitmapImage source="assets/app_chixSatay.jpg"/>
<s:Label fontWeight="bold"
text="CHICKEN SATAY"/>
<s:HGroup width="100%">
<s:Label fontWeight="bold"
text="Calorie Information"
rotation="270"/>
<!--
The RichText control displays richly-formatted text, but does not support scrolling.
Add flow tags within the content to determine the content display.
-->
<s:RichText id="calorieContent"
width="220">
<s:p><s:span fontSize="12" fontFamily="Arial" fontStyle="italic">Water content (grams per 100g): 47.31</s:span></s:p>
<s:p><s:span fontSize="12" fontFamily="Arial" fontStyle="italic">Calorie content of Food (kcals per 3.5oz): 283</s:span></s:p>
<s:p><s:span fontSize="12" fontFamily="Arial" fontStyle="italic">Protein content (grams per 100g): 13.25</s:span></s:p>
<s:p><s:span fontSize="12" fontFamily="Arial" fontStyle="italic">Fat content (lipids) (grams per 100g): 16.18</s:span></s:p>
<s:p><s:span fontSize="12" fontFamily="Arial" fontStyle="italic">Ash content (grams per 100g): 2</s:span></s:p>
<s:p><s:span fontSize="12" fontFamily="Arial" fontStyle="italic">Carbohydrate content (grams per 100g): 21.26</s:span></s:p>
<s:p><s:span fontSize="12" fontFamily="Arial" fontStyle="italic">Dietary Fiber content (grams per 100g): N/A</s:span></s:p>
<s:p><s:span fontSize="12" fontFamily="Arial" fontStyle="italic">Sugar content (grams per 100g): N/A<s:tab/></s:span></s:p>
</s:RichText>
</s:HGroup>
<s:Button label="DESKTOP DELIVERY"
fontWeight="bold"/>
</s:Panel>