Justin, I have checked in a few skins (ActionBarBackground, Button and Checkbox skins)
Could you perhaps take the Checkbox skins and try to apply to the mobile checkbox component and see how it goes? I will be working on the remaining components over the next couple of weeks. In the meantime, you can let me know if and how I need to tweak the skins. Also, I am thinking we can skip generating different skins for different dpis and let the scaling algorithm take care of the adjustments based on the dpis. What do you think? Thanks, Om ---------- Forwarded message ---------- From: <bigosma...@apache.org> Date: Wed, Sep 25, 2013 at 2:28 AM Subject: git commit: [flex-sdk] [refs/heads/new_android_skins] - First few fxg skins for the Android 4+ skins. Included: ActionBarBackground, Button and Checkbox skins. To: comm...@flex.apache.org Updated Branches: refs/heads/new_android_skins [created] 1513ffd08 First few fxg skins for the Android 4+ skins. Included: ActionBarBackground, Button and Checkbox skins. Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/1513ffd0 Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/1513ffd0 Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/1513ffd0 Branch: refs/heads/new_android_skins Commit: 1513ffd0897824ad0a70aa2e3278f22b9f4c0e4f Parents: 82fb7f8 Author: Om <bigosma...@gmail.com> Authored: Wed Sep 25 02:27:18 2013 -0700 Committer: Om <bigosma...@gmail.com> Committed: Wed Sep 25 02:27:18 2013 -0700 ---------------------------------------------------------------------- .../android4/assets/ActionBarBackground.fxg | 34 ++++++++++++ .../spark/skins/android4/assets/Button_down.fxg | 58 ++++++++++++++++++++ .../spark/skins/android4/assets/Button_up.fxg | 49 +++++++++++++++++ .../skins/android4/assets/CheckBox_down.fxg | 39 +++++++++++++ .../android4/assets/CheckBox_downSymbol.fxg | 30 ++++++++++ .../assets/CheckBox_downSymbolSelected.fxg | 27 +++++++++ .../spark/skins/android4/assets/CheckBox_up.fxg | 27 +++++++++ .../skins/android4/assets/CheckBox_upSymbol.fxg | 30 ++++++++++ .../assets/CheckBox_upSymbolSelected.fxg | 30 ++++++++++ 9 files changed, 324 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1513ffd0/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/ActionBarBackground.fxg ---------------------------------------------------------------------- diff --git a/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/ActionBarBackground.fxg b/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/ActionBarBackground.fxg new file mode 100644 index 0000000..23da060 --- /dev/null +++ b/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/ActionBarBackground.fxg @@ -0,0 +1,34 @@ +<?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. + +--> + +<Graphic version="2.0" xmlns:flm="http://ns.adobe.com/flame/2008" xmlns=" http://ns.adobe.com/fxg/2008"> + <Group aaa:userLabel="Group_16" xmlns:aaa=" http://ns.adobe.com/fxg/2008/dt"> + <Path winding="nonZero" data="M 180 24 L -180 24 L -180 -24 L 180 -24 L 180 24 Z " blendMode="normal" alpha="1"> + <fill> + <SolidColor color="#222222"/> + </fill> + </Path> + <Path winding="nonZero" data="M 180 24 L -180 24 L -180 22 L 180 22 L 180 24 Z " blendMode="normal" alpha="0.6"> + <fill> + <SolidColor color="#000000"/> + </fill> + </Path> + </Group> +</Graphic> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1513ffd0/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/Button_down.fxg ---------------------------------------------------------------------- diff --git a/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/Button_down.fxg b/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/Button_down.fxg new file mode 100644 index 0000000..d41282a --- /dev/null +++ b/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/Button_down.fxg @@ -0,0 +1,58 @@ +<?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. + +--> + +<Graphic version="2.0" xmlns:flm="http://ns.adobe.com/flame/2008" xmlns=" http://ns.adobe.com/fxg/2008"> + <Group aaa:userLabel="Group_280" xmlns:aaa=" http://ns.adobe.com/fxg/2008/dt"> + <Path winding="nonZero" data="M 121 20 L -121 20 L -121 -20 L 121 -20 L 121 20 Z " blendMode="normal" alpha="0.8470588235294118"> + <fill> + <SolidColor color="#33b5e5"/> + </fill> + </Path> + <Group aaa:userLabel="Group_281"> + <Path winding="nonZero" data="M 121 -19 L -120 -19 L -120 -20 L 121 -20 L 121 -19 Z " blendMode="normal" alpha="1"> + <fill> + <SolidColor color="#69b2cc"/> + </fill> + </Path> + <Path winding="nonZero" data="M -120 19 L -121 19 L -121 -20 L -120 -20 L -120 19 Z " blendMode="normal" alpha="1"> + <fill> + <SolidColor color="#338db0"/> + </fill> + </Path> + <Path winding="nonZero" data="M 121 19 L 120 19 L 120 -19 L 121 -19 L 121 19 Z " blendMode="normal" alpha="1"> + <fill> + <SolidColor color="#338db0"/> + </fill> + </Path> + <Group aaa:userLabel="Group_282" alpha="0.4"> + <Path winding="evenOdd" data="M 121 -20 L 121 20 L -121 20 L -121 -20 L 121 -20 L 121 -20 Z M 121 -24 C 121 -24 -121 -24 -121 -24 C -123 -24 -125 -22 -125 -20 C -125 -20 -125 20 -125 20 C -125 22 -123 24 -121 24 C -121 24 121 24 121 24 C 123 24 125 22 125 20 C 125 20 125 -20 125 -20 C 125 -22 123 -24 121 -24 C 121 -24 121 -24 121 -24 Z " blendMode="normal" alpha="1"> + <fill> + <SolidColor color="#33b5e5"/> + </fill> + </Path> + </Group> + <Path winding="nonZero" data="M 121 20 L -121 20 L -121 19 L 121 19 L 121 20 Z " blendMode="normal" alpha="1"> + <fill> + <SolidColor color="#297491"/> + </fill> + </Path> + </Group> + </Group> +</Graphic> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1513ffd0/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/Button_up.fxg ---------------------------------------------------------------------- diff --git a/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/Button_up.fxg b/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/Button_up.fxg new file mode 100644 index 0000000..6b34698 --- /dev/null +++ b/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/Button_up.fxg @@ -0,0 +1,49 @@ +<?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. + +--> + +<Graphic version="2.0" xmlns:flm="http://ns.adobe.com/flame/2008" xmlns=" http://ns.adobe.com/fxg/2008"> + <Group aaa:userLabel="Group_5" xmlns:aaa="http://ns.adobe.com/fxg/2008/dt "> + <Path winding="nonZero" data="M 121 20 L -121 20 L -121 -20 L 121 -20 L 121 20 Z " blendMode="normal" alpha="1"> + <fill> + <SolidColor color="#474747"/> + </fill> + </Path> + <Path winding="nonZero" data="M 121 -19 L -120 -19 L -120 -20 L 121 -20 L 121 -19 Z " blendMode="normal" alpha="1"> + <fill> + <SolidColor color="#858585"/> + </fill> + </Path> + <Path winding="nonZero" data="M 121 20 L -120 20 L -120 19 L 121 19 L 121 20 Z " blendMode="normal" alpha="1"> + <fill> + <SolidColor color="#343434"/> + </fill> + </Path> + <Path winding="nonZero" data="M -120 19 L -121 19 L -121 -20 L -120 -20 L -120 19 Z " blendMode="normal" alpha="1"> + <fill> + <SolidColor color="#454545"/> + </fill> + </Path> + <Path winding="nonZero" data="M 121 19 L 120 19 L 120 -19 L 121 -19 L 121 19 Z " blendMode="normal" alpha="1"> + <fill> + <SolidColor color="#424242"/> + </fill> + </Path> + </Group> +</Graphic> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1513ffd0/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_down.fxg ---------------------------------------------------------------------- diff --git a/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_down.fxg b/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_down.fxg new file mode 100644 index 0000000..69b5c0a --- /dev/null +++ b/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_down.fxg @@ -0,0 +1,39 @@ +<?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. + +--> + +<Graphic version="2.0" xmlns:flm="http://ns.adobe.com/flame/2008" xmlns=" http://ns.adobe.com/fxg/2008"> + <Group aaa:userLabel="Group_616" xmlns:aaa=" http://ns.adobe.com/fxg/2008/dt"> + <Path winding="nonZero" data="M 29 33 C 29 33 3 33 3 33 C 2 33 0 31 0 30 C 0 30 0 4 0 4 C 0 2 2 1 3 1 C 3 1 29 1 29 1 C 31 1 32 2 32 4 C 32 4 32 30 32 30 C 32 31 31 33 29 33 Z " blendMode="normal" alpha="0.6"> + <fill> + <RadialGradient x="16" y="17" scaleX="32" scaleY="32" rotation="0"> + <GradientEntry color="#33b5e5" ratio="0.01" alpha="1"/> + <GradientEntry color="#0099cc" ratio="0.99" alpha="1"/> + </RadialGradient> + </fill> + </Path> + <Group aaa:userLabel="Group_617" alpha="0.8"> + <Path winding="evenOdd" data="M 24 9 L 24 25 L 8 25 L 8 9 L 24 9 L 24 9 Z M 23 10 L 9 10 L 9 24 L 23 24 L 23 10 L 23 10 Z " blendMode="normal" alpha="1"> + <fill> + <SolidColor color="#333333"/> + </fill> + </Path> + </Group> + </Group> +</Graphic> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1513ffd0/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_downSymbol.fxg ---------------------------------------------------------------------- diff --git a/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_downSymbol.fxg b/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_downSymbol.fxg new file mode 100644 index 0000000..5190e60 --- /dev/null +++ b/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_downSymbol.fxg @@ -0,0 +1,30 @@ +<?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. + +--> + +<Graphic version="2.0" xmlns:flm="http://ns.adobe.com/flame/2008" xmlns=" http://ns.adobe.com/fxg/2008"> + <Path winding="nonZero" data="M 13 1 L 5 10 L 2 7 L 0 10 L 5 14 L 15 3 L 13 1 Z " blendMode="normal" alpha="1"> + <fill> + <LinearGradient x="10" y="9" scaleX="7" rotation="-135"> + <GradientEntry color="#0099cc" ratio="0.01" alpha="1"/> + <GradientEntry color="#33b5e5" ratio="0.99" alpha="1"/> + </LinearGradient> + </fill> + </Path> +</Graphic> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1513ffd0/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_downSymbolSelected.fxg ---------------------------------------------------------------------- diff --git a/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_downSymbolSelected.fxg b/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_downSymbolSelected.fxg new file mode 100644 index 0000000..ee22c4a --- /dev/null +++ b/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_downSymbolSelected.fxg @@ -0,0 +1,27 @@ +<?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. + +--> + +<Graphic version="2.0" xmlns:flm="http://ns.adobe.com/flame/2008" xmlns=" http://ns.adobe.com/fxg/2008"> + <Path winding="nonZero" data="M 13 0 L 5 9 L 2 6 L 0 9 L 6 13 L 16 2 L 13 0 Z " blendMode="normal" alpha="1"> + <fill> + <SolidColor color="#3d3d3d"/> + </fill> + </Path> +</Graphic> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1513ffd0/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_up.fxg ---------------------------------------------------------------------- diff --git a/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_up.fxg b/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_up.fxg new file mode 100644 index 0000000..53e87d4 --- /dev/null +++ b/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_up.fxg @@ -0,0 +1,27 @@ +<?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. + +--> + +<Graphic version="2.0" xmlns:flm="http://ns.adobe.com/flame/2008" xmlns=" http://ns.adobe.com/fxg/2008"> + <Path winding="evenOdd" data="M 17 1 L 17 17 L 1 17 L 1 1 L 17 1 L 17 1 Z M 16 2 L 2 2 L 2 16 L 16 16 L 16 2 L 16 2 Z " blendMode="normal" alpha="1"> + <fill> + <SolidColor color="#333333"/> + </fill> + </Path> +</Graphic> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1513ffd0/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_upSymbol.fxg ---------------------------------------------------------------------- diff --git a/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_upSymbol.fxg b/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_upSymbol.fxg new file mode 100644 index 0000000..e23b0f7 --- /dev/null +++ b/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_upSymbol.fxg @@ -0,0 +1,30 @@ +<?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. + +--> + +<Graphic version="2.0" xmlns:flm="http://ns.adobe.com/flame/2008" xmlns=" http://ns.adobe.com/fxg/2008"> + <Path winding="nonZero" data="M 14 1 L 6 10 L 2 7 L 0 10 L 6 14 L 16 3 L 14 1 Z " blendMode="normal" alpha="1"> + <fill> + <LinearGradient x="11" y="9" scaleX="7" rotation="-135"> + <GradientEntry color="#0099cc" ratio="0.01" alpha="1"/> + <GradientEntry color="#33b5e5" ratio="0.99" alpha="1"/> + </LinearGradient> + </fill> + </Path> +</Graphic> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/1513ffd0/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_upSymbolSelected.fxg ---------------------------------------------------------------------- diff --git a/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_upSymbolSelected.fxg b/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_upSymbolSelected.fxg new file mode 100644 index 0000000..5190e60 --- /dev/null +++ b/frameworks/projects/mobiletheme/src/spark/skins/android4/assets/CheckBox_upSymbolSelected.fxg @@ -0,0 +1,30 @@ +<?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. + +--> + +<Graphic version="2.0" xmlns:flm="http://ns.adobe.com/flame/2008" xmlns=" http://ns.adobe.com/fxg/2008"> + <Path winding="nonZero" data="M 13 1 L 5 10 L 2 7 L 0 10 L 5 14 L 15 3 L 13 1 Z " blendMode="normal" alpha="1"> + <fill> + <LinearGradient x="10" y="9" scaleX="7" rotation="-135"> + <GradientEntry color="#0099cc" ratio="0.01" alpha="1"/> + <GradientEntry color="#33b5e5" ratio="0.99" alpha="1"/> + </LinearGradient> + </fill> + </Path> +</Graphic> \ No newline at end of file