Results 1 to 13 of 13

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Theming this UI Element

  1. #1
    Default Theming this UI Element


    The OFF Black background is ok but the ON one is not working...
    i got UISwitchButtonOn@2x image But its not affecting...
    please help
    Last edited by ThelostMC; 03-08-2013 at 01:55 PM.

  2. #2
    .artwork assassin Jato_BZ's Avatar
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    3,185
    Thanks
    3,321
    Thanked 6,595 Times in 2,161 Posts

    Quote Originally Posted by ThelostMC View Post


    The OFF Black background is ok but the ON one is not working...
    i got UISwitchButtonOn@2x image But its not affecting...
    please help
    Are u talking about the white slice file on the blue BG or the blue BG?
    Twitter ID: @Jato_BZ
    .artwork Assassin / Emoji Extractor

  3. #3
    Quote Originally Posted by Jato_BZ View Post
    Are u talking about the white slice file on the blue BG or the blue BG?
    The blue bg

  4. #4
    .artwork assassin Jato_BZ's Avatar
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    3,185
    Thanks
    3,321
    Thanked 6,595 Times in 2,161 Posts

    Quote Originally Posted by ThelostMC View Post
    The blue bg
    I'm pretty sure that blue file is

    UISwitchTrackBlue@2x.png

    22x54px

    Haven't tested tho
    Twitter ID: @Jato_BZ
    .artwork Assassin / Emoji Extractor

  5. The Following User Says Thank You to Jato_BZ For This Useful Post:

    Sk37cH (03-09-2013)

  6. #5
    Quote Originally Posted by Jato_BZ View Post
    I'm pretty sure that blue file is

    UISwitchTrackBlue@2x.png

    22x54px

    Haven't tested tho
    Not working man
    Last edited by ThelostMC; 03-09-2013 at 02:15 AM.

  7. #6
    Quote Originally Posted by ThelostMC View Post


    The OFF Black background is ok but the ON one is not working...
    i got UISwitchButtonOn@2x image But its not affecting...
    please help
    Try UISwitchButtonDarkOn@2x and UISwitchButtonWhiteOn@2x (same sizes that your previous UISwitchButtonOn@2x) it should work

  8. The Following User Says Thank You to BoubakAy For This Useful Post:

    Sk37cH (03-09-2013)

  9. #7
    Quote Originally Posted by BoubakAy View Post
    Try UISwitchButtonDarkOn@2x and UISwitchButtonWhiteOn@2x (same sizes that your previous UISwitchButtonOn@2x) it should work
    Not Working

  10. #8
    .artwork assassin Jato_BZ's Avatar
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    3,185
    Thanks
    3,321
    Thanked 6,595 Times in 2,161 Posts

    Twitter ID: @Jato_BZ
    .artwork Assassin / Emoji Extractor

  11. The Following User Says Thank You to Jato_BZ For This Useful Post:

    Sk37cH (03-09-2013)

  12. #9
    Quote Originally Posted by ThelostMC View Post


    The OFF Black background is ok but the ON one is not working...
    i got UISwitchButtonOn@2x image But its not affecting...
    please help
    How did you get the OFF black background ???

  13. #10
    Quote Originally Posted by pulosu View Post
    How did you get the OFF black background ???
    Boss.ios theme

  14. #11
    Quote Originally Posted by Jato_BZ View Post
    not working
    thanks anyway

  15. #12
    .artwork assassin Jato_BZ's Avatar
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    3,185
    Thanks
    3,321
    Thanked 6,595 Times in 2,161 Posts

    I read it may need be set via HTML and stuff.

    One of my other themes uses the

    UISwitchShapeShadow@2x.png

    To theme their UI Switch

    Look here at the coded way.

    http://www.catamount.com/blog/uicust...change-labels/
    Twitter ID: @Jato_BZ
    .artwork Assassin / Emoji Extractor

  16. #13
    If you change the UISwitchShapeShadow@2x.png you wil get this -adn.png
    The UISwitchButtonOff@2x.png is not visible anymore...
    With a transparent UISwitchOnColorMask@2x.png I get this -adn2.png

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •