1 Reply Latest reply: Apr 13, 2012 8:46 AM by viking972 RSS

    Custom ActionBar Skin

    viking972 Community Member

      Hello,

      Thank you for your help.

       

      I'm working on a Custom ActionBar Skin.

      public class CustomActionBarSkin extends ActionBarSkin

      ...

       

      public function CustomActionBarSkin()

                          {

                                    super();

                                    switch (applicationDPI)

       

      ...

       

      case DPIClassification.DPI_240:

                                              {

                                                        borderClass = assets.top_bg; //My FXG

       

       

      So i did apply my background using FXG, ..

      Now i would like to add a .PNG logo in that Bar directly from my Custom AS Skin.

       

      I was wondering how this is possible in the class, do i have to override a specific function ? (i tried createChildren did not work)

       

      Thank you for your great help.

      Regards,

      Hugo