|
| 1 | +<Page loaded="onLoaded" unloaded="onUnloaded"> |
| 2 | + <AbsoluteLayout> |
| 3 | + <GridLayout top="0" left="0" width="100%" rows="48, 48, 48, 48, 48, 48" columns="*,*,*"> |
| 4 | + |
| 5 | + <Label row="0" colSpan="3" text="Animate"/> |
| 6 | + <SegmentedBar row="1" colSpan="3" id="select"> |
| 7 | + <SegmentedBar.items> |
| 8 | + <SegmentedBarItem title="height"/> |
| 9 | + <SegmentedBarItem title="width"/> |
| 10 | + <SegmentedBarItem title="opacity"/> |
| 11 | + <SegmentedBarItem title="color"/> |
| 12 | + <SegmentedBarItem title="rotate"/> |
| 13 | + <SegmentedBarItem title="scale"/> |
| 14 | + </SegmentedBar.items> |
| 15 | + </SegmentedBar> |
| 16 | + |
| 17 | + <Label row="2" colSpan="3" text="Easing"/> |
| 18 | + <Button row="3" col="0" text="easeIn" tap="easeAnimate"/> |
| 19 | + <Button row="3" col="1" text="easeOut" tap="easeAnimate"/> |
| 20 | + <Button row="3" col="2" text="easeInOut" tap="easeAnimate"/> |
| 21 | + <Button row="4" col="0" text="spring" tap="easeAnimate"/> |
| 22 | + <Button row="4" col="1" text="linear" tap="easeAnimate"/> |
| 23 | + <Button row="4" col="2" text="ease" tap="easeAnimate"/> |
| 24 | + </GridLayout> |
| 25 | + |
| 26 | + <StackLayout top="20" left="200" orientation="horizontal"> |
| 27 | + <Label text="FPS: "></Label> |
| 28 | + <Label id="fps"></Label> |
| 29 | + </StackLayout> |
| 30 | + |
| 31 | + <GridLayout top="256" left="20" width="100%" |
| 32 | + rows="24,24,24,24,24,24,24,24,24,24" |
| 33 | + columns="32,32,32,32,32,32,32,32,32,32"> |
| 34 | + <!-- 0 --> |
| 35 | + <Label row="0" col="0" height="24" width="32" id="el-0" backgroundColor="purple"/> |
| 36 | + <Label row="0" col="1" height="24" width="32" id="el-1" backgroundColor="purple"/> |
| 37 | + <Label row="0" col="2" height="24" width="32" id="el-2" backgroundColor="purple"/> |
| 38 | + <Label row="0" col="3" height="24" width="32" id="el-3" backgroundColor="purple"/> |
| 39 | + <Label row="0" col="4" height="24" width="32" id="el-4" backgroundColor="purple"/> |
| 40 | + <Label row="0" col="5" height="24" width="32" id="el-5" backgroundColor="purple"/> |
| 41 | + <Label row="0" col="6" height="24" width="32" id="el-6" backgroundColor="purple"/> |
| 42 | + <Label row="0" col="7" height="24" width="32" id="el-7" backgroundColor="purple"/> |
| 43 | + <Label row="0" col="8" height="24" width="32" id="el-8" backgroundColor="purple"/> |
| 44 | + <Label row="0" col="9" height="24" width="32" id="el-9" backgroundColor="purple"/> |
| 45 | + |
| 46 | + <!-- 1 --> |
| 47 | + <Label row="1" col="0" height="24" width="32" id="el-10" backgroundColor="purple"/> |
| 48 | + <Label row="1" col="1" height="24" width="32" id="el-11" backgroundColor="purple"/> |
| 49 | + <Label row="1" col="2" height="24" width="32" id="el-12" backgroundColor="purple"/> |
| 50 | + <Label row="1" col="3" height="24" width="32" id="el-13" backgroundColor="purple"/> |
| 51 | + <Label row="1" col="4" height="24" width="32" id="el-14" backgroundColor="purple"/> |
| 52 | + <Label row="1" col="5" height="24" width="32" id="el-15" backgroundColor="purple"/> |
| 53 | + <Label row="1" col="6" height="24" width="32" id="el-16" backgroundColor="purple"/> |
| 54 | + <Label row="1" col="7" height="24" width="32" id="el-17" backgroundColor="purple"/> |
| 55 | + <Label row="1" col="8" height="24" width="32" id="el-18" backgroundColor="purple"/> |
| 56 | + <Label row="1" col="9" height="24" width="32" id="el-19" backgroundColor="purple"/> |
| 57 | + |
| 58 | + <!-- 2 --> |
| 59 | + <Label row="2" col="0" height="24" width="32" id="el-20" backgroundColor="purple"/> |
| 60 | + <Label row="2" col="1" height="24" width="32" id="el-21" backgroundColor="purple"/> |
| 61 | + <Label row="2" col="2" height="24" width="32" id="el-22" backgroundColor="purple"/> |
| 62 | + <Label row="2" col="3" height="24" width="32" id="el-23" backgroundColor="purple"/> |
| 63 | + <Label row="2" col="4" height="24" width="32" id="el-24" backgroundColor="purple"/> |
| 64 | + <Label row="2" col="5" height="24" width="32" id="el-25" backgroundColor="purple"/> |
| 65 | + <Label row="2" col="6" height="24" width="32" id="el-26" backgroundColor="purple"/> |
| 66 | + <Label row="2" col="7" height="24" width="32" id="el-27" backgroundColor="purple"/> |
| 67 | + <Label row="2" col="8" height="24" width="32" id="el-28" backgroundColor="purple"/> |
| 68 | + <Label row="2" col="9" height="24" width="32" id="el-29" backgroundColor="purple"/> |
| 69 | + |
| 70 | + <!-- 3 --> |
| 71 | + <Label row="3" col="0" height="24" width="32" id="el-30" backgroundColor="purple"/> |
| 72 | + <Label row="3" col="1" height="24" width="32" id="el-31" backgroundColor="purple"/> |
| 73 | + <Label row="3" col="2" height="24" width="32" id="el-32" backgroundColor="purple"/> |
| 74 | + <Label row="3" col="3" height="24" width="32" id="el-33" backgroundColor="purple"/> |
| 75 | + <Label row="3" col="4" height="24" width="32" id="el-34" backgroundColor="purple"/> |
| 76 | + <Label row="3" col="5" height="24" width="32" id="el-35" backgroundColor="purple"/> |
| 77 | + <Label row="3" col="6" height="24" width="32" id="el-36" backgroundColor="purple"/> |
| 78 | + <Label row="3" col="7" height="24" width="32" id="el-37" backgroundColor="purple"/> |
| 79 | + <Label row="3" col="8" height="24" width="32" id="el-38" backgroundColor="purple"/> |
| 80 | + <Label row="3" col="9" height="24" width="32" id="el-39" backgroundColor="purple"/> |
| 81 | + |
| 82 | + <!-- 4 --> |
| 83 | + <Label row="4" col="0" height="24" width="32" id="el-40" backgroundColor="purple"/> |
| 84 | + <Label row="4" col="1" height="24" width="32" id="el-41" backgroundColor="purple"/> |
| 85 | + <Label row="4" col="2" height="24" width="32" id="el-42" backgroundColor="purple"/> |
| 86 | + <Label row="4" col="3" height="24" width="32" id="el-43" backgroundColor="purple"/> |
| 87 | + <Label row="4" col="4" height="24" width="32" id="el-44" backgroundColor="purple"/> |
| 88 | + <Label row="4" col="5" height="24" width="32" id="el-45" backgroundColor="purple"/> |
| 89 | + <Label row="4" col="6" height="24" width="32" id="el-46" backgroundColor="purple"/> |
| 90 | + <Label row="4" col="7" height="24" width="32" id="el-47" backgroundColor="purple"/> |
| 91 | + <Label row="4" col="8" height="24" width="32" id="el-48" backgroundColor="purple"/> |
| 92 | + <Label row="4" col="9" height="24" width="32" id="el-49" backgroundColor="purple"/> |
| 93 | + |
| 94 | + <!-- 5 --> |
| 95 | + <Label row="5" col="0" height="24" width="32" id="el-50" backgroundColor="purple"/> |
| 96 | + <Label row="5" col="1" height="24" width="32" id="el-51" backgroundColor="purple"/> |
| 97 | + <Label row="5" col="2" height="24" width="32" id="el-52" backgroundColor="purple"/> |
| 98 | + <Label row="5" col="3" height="24" width="32" id="el-53" backgroundColor="purple"/> |
| 99 | + <Label row="5" col="4" height="24" width="32" id="el-54" backgroundColor="purple"/> |
| 100 | + <Label row="5" col="5" height="24" width="32" id="el-55" backgroundColor="purple"/> |
| 101 | + <Label row="5" col="6" height="24" width="32" id="el-56" backgroundColor="purple"/> |
| 102 | + <Label row="5" col="7" height="24" width="32" id="el-57" backgroundColor="purple"/> |
| 103 | + <Label row="5" col="8" height="24" width="32" id="el-58" backgroundColor="purple"/> |
| 104 | + <Label row="5" col="9" height="24" width="32" id="el-59" backgroundColor="purple"/> |
| 105 | + |
| 106 | + <!-- 6 --> |
| 107 | + <Label row="6" col="0" height="24" width="32" id="el-60" backgroundColor="purple"/> |
| 108 | + <Label row="6" col="1" height="24" width="32" id="el-61" backgroundColor="purple"/> |
| 109 | + <Label row="6" col="2" height="24" width="32" id="el-62" backgroundColor="purple"/> |
| 110 | + <Label row="6" col="3" height="24" width="32" id="el-63" backgroundColor="purple"/> |
| 111 | + <Label row="6" col="4" height="24" width="32" id="el-64" backgroundColor="purple"/> |
| 112 | + <Label row="6" col="5" height="24" width="32" id="el-65" backgroundColor="purple"/> |
| 113 | + <Label row="6" col="6" height="24" width="32" id="el-66" backgroundColor="purple"/> |
| 114 | + <Label row="6" col="7" height="24" width="32" id="el-67" backgroundColor="purple"/> |
| 115 | + <Label row="6" col="8" height="24" width="32" id="el-68" backgroundColor="purple"/> |
| 116 | + <Label row="6" col="9" height="24" width="32" id="el-69" backgroundColor="purple"/> |
| 117 | + |
| 118 | + <!-- 7 --> |
| 119 | + <Label row="7" col="0" height="24" width="32" id="el-70" backgroundColor="purple"/> |
| 120 | + <Label row="7" col="1" height="24" width="32" id="el-71" backgroundColor="purple"/> |
| 121 | + <Label row="7" col="2" height="24" width="32" id="el-72" backgroundColor="purple"/> |
| 122 | + <Label row="7" col="3" height="24" width="32" id="el-73" backgroundColor="purple"/> |
| 123 | + <Label row="7" col="4" height="24" width="32" id="el-74" backgroundColor="purple"/> |
| 124 | + <Label row="7" col="5" height="24" width="32" id="el-75" backgroundColor="purple"/> |
| 125 | + <Label row="7" col="6" height="24" width="32" id="el-76" backgroundColor="purple"/> |
| 126 | + <Label row="7" col="7" height="24" width="32" id="el-77" backgroundColor="purple"/> |
| 127 | + <Label row="7" col="8" height="24" width="32" id="el-78" backgroundColor="purple"/> |
| 128 | + <Label row="7" col="9" height="24" width="32" id="el-79" backgroundColor="purple"/> |
| 129 | + |
| 130 | + <!-- 8 --> |
| 131 | + <Label row="8" col="0" height="24" width="32" id="el-80" backgroundColor="purple"/> |
| 132 | + <Label row="8" col="1" height="24" width="32" id="el-81" backgroundColor="purple"/> |
| 133 | + <Label row="8" col="2" height="24" width="32" id="el-82" backgroundColor="purple"/> |
| 134 | + <Label row="8" col="3" height="24" width="32" id="el-83" backgroundColor="purple"/> |
| 135 | + <Label row="8" col="4" height="24" width="32" id="el-84" backgroundColor="purple"/> |
| 136 | + <Label row="8" col="5" height="24" width="32" id="el-85" backgroundColor="purple"/> |
| 137 | + <Label row="8" col="6" height="24" width="32" id="el-86" backgroundColor="purple"/> |
| 138 | + <Label row="8" col="7" height="24" width="32" id="el-87" backgroundColor="purple"/> |
| 139 | + <Label row="8" col="8" height="24" width="32" id="el-88" backgroundColor="purple"/> |
| 140 | + <Label row="8" col="9" height="24" width="32" id="el-89" backgroundColor="purple"/> |
| 141 | + |
| 142 | + <!-- 9 --> |
| 143 | + <Label row="9" col="0" height="24" width="32" id="el-90" backgroundColor="purple"/> |
| 144 | + <Label row="9" col="1" height="24" width="32" id="el-91" backgroundColor="purple"/> |
| 145 | + <Label row="9" col="2" height="24" width="32" id="el-92" backgroundColor="purple"/> |
| 146 | + <Label row="9" col="3" height="24" width="32" id="el-93" backgroundColor="purple"/> |
| 147 | + <Label row="9" col="4" height="24" width="32" id="el-94" backgroundColor="purple"/> |
| 148 | + <Label row="9" col="5" height="24" width="32" id="el-95" backgroundColor="purple"/> |
| 149 | + <Label row="9" col="6" height="24" width="32" id="el-96" backgroundColor="purple"/> |
| 150 | + <Label row="9" col="7" height="24" width="32" id="el-97" backgroundColor="purple"/> |
| 151 | + <Label row="9" col="8" height="24" width="32" id="el-98" backgroundColor="purple"/> |
| 152 | + <Label row="9" col="9" height="24" width="32" id="el-99" backgroundColor="purple"/> |
| 153 | + |
| 154 | + </GridLayout> |
| 155 | + |
| 156 | + </AbsoluteLayout> |
| 157 | +</Page> |
0 commit comments