| <?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"/> |
| |
| <s:RichText id="calorieContent" |
| width="220"> |
| <s:p><s:span fontFamily="Arial" fontStyle="italic">Water content (grams per 100g): 47.31</s:span></s:p> |
| <s:p><s:span fontFamily="Arial" fontStyle="italic">Calorie content of Food (kcals per 3.5oz): 283</s:span></s:p> |
| <s:p><s:span fontFamily="Arial" fontStyle="italic">Protein content (grams per 100g): 13.25</s:span></s:p> |
| <s:p><s:span fontFamily="Arial" fontStyle="italic">Fat content (lipids) (grams per 100g): 16.18</s:span></s:p> |
| <s:p><s:span fontFamily="Arial" fontStyle="italic">Ash content (grams per 100g): 2</s:span></s:p> |
| <s:p><s:span fontFamily="Arial" fontStyle="italic">Carbohydrate content (grams per 100g): 21.26</s:span></s:p> |
| <s:p><s:span fontFamily="Arial" fontStyle="italic">Dietary Fiber content (grams per 100g): N/A</s:span></s:p> |
| <s:p><s:span fontFamily="Arial" fontStyle="italic">Sugar content (grams per 100g): N/A</s:span></s:p> |
| |
| </s:RichText> |
| |
| </s:HGroup> |
| |
| <s:Button label="DESKTOP DELIVERY" |
| fontWeight="bold"/> |
| |
| </s:Panel> |