Flex Mobile : How to skin view?

Posted by Anthony on Stack Overflow See other posts from Stack Overflow or by Anthony
Published on 2012-03-20T08:40:39Z Indexed on 2012/08/30 15:38 UTC
Read the original article Hit count: 254

Filed under:
|
|

I would like to know if it's possible to skin view for my Flex mobile application :

My ActivityView.as

public class ActivityView extends View

My ActivityViewSkin.mxml (It skin associated)

<?xml version="1.0" encoding="utf-8"?>
<s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark">

<fx:Metadata>   
    [HostComponent("com.corp.views.activity.ActivityView")]
    ...

It's a good way for mobile development ?

And how can I use this in this skin :

<s:navigationContent>

Thank you very much !

Anthony

© Stack Overflow or respective owner

Related posts about skinning

Related posts about flex-mobile