1. You want that $100.00 in your pocket or an Amazon Fire TV don't you? Well here's the deal. With our new updated look we are in desperate need of an updated logo. The 'old' one has certainly served us well, but it's time. Find all the details here: bit.ly/1q0k6Wa
  2. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

stock calendar app - going beyond basic inversion - if you're interested

Discussion in 'Android Themes' started by Alastrionia, Feb 3, 2011.

  1. Alastrionia
    Offline

    Alastrionia Sourcery Themer / Designr Theme Developer Premium Member

    Joined:
    Sep 27, 2010
    Messages:
    359
    Likes Received:
    4
    Trophy Points:
    0
    Location:
    Sunnyside, WA
    Good Evening everyone,

    while looking over the stock calendar app and noticing that the stock white or inverted black for your current month is nice, and the ability to theme around it helps make it distinct, I decided to try and go a step further and really make it something special.

    so taking the androidmanifest.xml and changing all the "theme.black" back to just "theme" was the start.

    from there I went into the styles.xml and and made the following change:
    changes I made are in red. then it was just a matter of adding a custombg.png image to the drawable-hdpi folder and recompile the whole thing. so this is what I ended up with after some tinkering with colors - still tweaking it.

    [​IMG]

    what do you think?
    I feel time well spent :D

    also, if this is something that has already been done - I didn't see / find / know of it (searched for a while but nothing came up)
  2. Mbk
    Offline

    Mbk Android For Life Theme Developer Premium Member

    Joined:
    May 4, 2010
    Messages:
    4,169
    Likes Received:
    4
    Trophy Points:
    0
    I think that many will love what you've done with the stock calendar.apk.... especially how you 'added' a new line of code to call the custom png (custombg)... I'm positive that we'll see all the other themers take this and run with it to further and further heights....kinda makes the stock calendar app look pretty cool now... :)
  3. B-boy™
    Offline

    B-boy™ Team B-boy™/Jedi Counsel Theme Developer Premium Member

    Joined:
    Oct 10, 2010
    Messages:
    1,893
    Likes Received:
    7
    Trophy Points:
    0
    Location:
    central Az
    Good job man.. looks great!.. I did the same concept for the lockscreen_background on cm6.1 but that was just "used" from what I saw in a diff rom that I decompiled... but very nice work on this man... you making a full theme or already have one?
  4. Alastrionia
    Offline

    Alastrionia Sourcery Themer / Designr Theme Developer Premium Member

    Joined:
    Sep 27, 2010
    Messages:
    359
    Likes Received:
    4
    Trophy Points:
    0
    Location:
    Sunnyside, WA
    B-boy I'm currently working this into my Age Of BronZed theme on Project Elite 4.2
    actually in the middle of an overhaul on the theme, going for a metal on metal style (at least that's my hope)
    so it'll look like overlapping plates, seamless transitions from the main screen to the apps. :D
  5. B-boy™
    Offline

    B-boy™ Team B-boy™/Jedi Counsel Theme Developer Premium Member

    Joined:
    Oct 10, 2010
    Messages:
    1,893
    Likes Received:
    7
    Trophy Points:
    0
    Location:
    central Az
    Well that's gonna he pretty sick looking man.... toss a lockscreen bg in there too if ya wanna cause doesn't pe just use the wallpaper that the user has set?...

    Sent from my Droid using DroidForums App
  6. Alastrionia
    Offline

    Alastrionia Sourcery Themer / Designr Theme Developer Premium Member

    Joined:
    Sep 27, 2010
    Messages:
    359
    Likes Received:
    4
    Trophy Points:
    0
    Location:
    Sunnyside, WA
    ya, PE just uses the wallpaper in the background.
    once I get this all figured out, I'll take a stab at doing a custom lockscreen.
    still learning all the ropes, glad I got good buds like Mbk, Stetsonaw, Eiker83 to bounce ideas and stuff off of :)
  7. B-boy™
    Offline

    B-boy™ Team B-boy™/Jedi Counsel Theme Developer Premium Member

    Joined:
    Oct 10, 2010
    Messages:
    1,893
    Likes Received:
    7
    Trophy Points:
    0
    Location:
    central Az
    Very cool man... Mbk is a good source IMO .... and the bg is easy... its in res/layout/keyguard_screen_tab_unlock.xml... near the top it'll say blah blah background@/#ffoooooo or something and ya just change it like ya did on this to point to a "lockscreen_background.png in drawable.. then add that to the d-hdpi folder before compiling back up.... looks better I think....

    Sent from my Droid using DroidForums App
  8. Alastrionia
    Offline

    Alastrionia Sourcery Themer / Designr Theme Developer Premium Member

    Joined:
    Sep 27, 2010
    Messages:
    359
    Likes Received:
    4
    Trophy Points:
    0
    Location:
    Sunnyside, WA
    oh, well that is quite straightforward.
    inside the framework-res correct?

    when I get home from work, means I'll have more fun in store for me :D
  9. B-boy™
    Offline

    B-boy™ Team B-boy™/Jedi Counsel Theme Developer Premium Member

    Joined:
    Oct 10, 2010
    Messages:
    1,893
    Likes Received:
    7
    Trophy Points:
    0
    Location:
    central Az
    Yeah framework-res.apk.... pm me if ya have any questions on it....

    Sent from my Droid using DroidForums App
  10. Mbk
    Offline

    Mbk Android For Life Theme Developer Premium Member

    Joined:
    May 4, 2010
    Messages:
    4,169
    Likes Received:
    4
    Trophy Points:
    0
    Man you guys are getting good!!!.... theming is definitely being takin up a notch....or three...:p ;)
  11. B-boy™
    Offline

    B-boy™ Team B-boy™/Jedi Counsel Theme Developer Premium Member

    Joined:
    Oct 10, 2010
    Messages:
    1,893
    Likes Received:
    7
    Trophy Points:
    0
    Location:
    central Az
    Thanks.... lol. It's fun manipulating stuff to create a "new effect".... still wanna try for that live action pulldown tho.... I have an idea but haven't tested it yet....

    Sent from my Droid using DroidForums App
  12. Mbk
    Offline

    Mbk Android For Life Theme Developer Premium Member

    Joined:
    May 4, 2010
    Messages:
    4,169
    Likes Received:
    4
    Trophy Points:
    0
    Yeah, Alastrionia and I were just talking along those lines about having an animated background for whatever.... using a sequence of pngs to be called up by the XML basically like how the battery icons when charging are...

    doing it for a moving png like the pulldown is probably not ever really going to work, since so much has to be specified per image per movement location.... but I wouldn't say it 'cannot' be done...;)
  13. B-boy™
    Offline

    B-boy™ Team B-boy™/Jedi Counsel Theme Developer Premium Member

    Joined:
    Oct 10, 2010
    Messages:
    1,893
    Likes Received:
    7
    Trophy Points:
    0
    Location:
    central Az
    That's exactly my idea except I was thinking the upload and download sequence in their xml.... its a fast moving cycle creating a "rotating ball or arrow" so as long as the size of the pulldown isn't too big to push a 3-6 png sequence, I think it will work....

    Sent from my Droid using DroidForums App
  14. Mbk
    Offline

    Mbk Android For Life Theme Developer Premium Member

    Joined:
    May 4, 2010
    Messages:
    4,169
    Likes Received:
    4
    Trophy Points:
    0
    yeah it just might with the pulldown, but definitely will in stationary images like backgrounds...

    but ultimately it all comes down to how much time and effort you're willing to put into it.... if I worked for Google I'd be ohh so happy to tinker like that...lol...
  15. B-boy™
    Offline

    B-boy™ Team B-boy™/Jedi Counsel Theme Developer Premium Member

    Joined:
    Oct 10, 2010
    Messages:
    1,893
    Likes Received:
    7
    Trophy Points:
    0
    Location:
    central Az

    So in your opinion, you think on a custom "lockscreen_background_anime_2.png" for example would prob work better than the statusbar_background?... I don't know if the movin image of the pulldown would really matter tho, I think the size is gonna be the issue cause upload anime's and batt charge anime's are really small compared to the pulldown... less detail the better in this case.. I just need to figure out how to write a new xml into it and where all it needs to be done... and by "I", of course I mean "whoever"...:)
  16. Mbk
    Offline

    Mbk Android For Life Theme Developer Premium Member

    Joined:
    May 4, 2010
    Messages:
    4,169
    Likes Received:
    4
    Trophy Points:
    0
    well if you think of the concept of the bootanimations, that's a lot of large pngs being played one after another so basically that'd be what the background changing animation would probably be like, but I think since the pulldown is written to move, it'd take more for an XML to specify where in the oulldown action for the new image to pop in on, all things have to specified to go where they do, and it'd be cool if the new image would magically know where to pop in on...
  17. B-boy™
    Offline

    B-boy™ Team B-boy™/Jedi Counsel Theme Developer Premium Member

    Joined:
    Oct 10, 2010
    Messages:
    1,893
    Likes Received:
    7
    Trophy Points:
    0
    Location:
    central Az
    in the xml's for batt charge and statusbar_upload there are "durations"... batt charge are all different and upload is set at 200.. not sure what that reading is for but regardless, it creates a moving image out of 5 png's where as the battery charge is a little slower.. so maybe tweaking those durations would work for that... and live wallpapers are farely big files and work fine so I think it might be a go.. I made the lockscreen_background_anim1 thru 4 just to set a test but writing the xml into I think the drawable folder is gonna be tricky cause I can't find anywhere in the framework where an xml from drawable's is called on.. like the batt charge, upload, etc.. they're just written in... and the bg for the lockscreen is in layout/keyguard_screen_tab_unlock.xml so I'm kinda at a stand still until I research a little more... lol..
  18. Mbk
    Offline

    Mbk Android For Life Theme Developer Premium Member

    Joined:
    May 4, 2010
    Messages:
    4,169
    Likes Received:
    4
    Trophy Points:
    0
    yeah nothing like giving it a try... the batt anims aren't really creating movement, they're creating an 'illusion' of movement.... each anim png is told where to display.... in a pulldown it's a single png that is actually moving, and what I was trying to say was that if there was a set of pulldown images that are set to rotate, how would the next image know where on the screen the last image is at??.... with a lockscreen or app background, they are stationary, thus the next image knows exactly where it is suppposed to appear. .....all images are commanded by XMLs that specify where on the screen it should display, no image knows magically where the the one prior to it left off.... I'm positive it can be done but then you're probably better off spending that amount of time to develop an app considering the amount of code you'd need to enter to get the images to figure out where the prior one left off...

    But this whole concept does sound very intriguing, and between you and Alastrionia, I would almost bet that the lockscreen or app background anim will come to be... both of you guys are extremely driven and tenacious, so I have no doubt ;)
  19. B-boy™
    Offline

    B-boy™ Team B-boy™/Jedi Counsel Theme Developer Premium Member

    Joined:
    Oct 10, 2010
    Messages:
    1,893
    Likes Received:
    7
    Trophy Points:
    0
    Location:
    central Az
    Well I'm gonna keep looking into it and I'm sure I can pm someone that knows a lot more about what our idea is and if it "is" possible and not too hard, then I think it'll be a really cool new addition to all the incredible themes out.... :)
  20. Alastrionia
    Offline

    Alastrionia Sourcery Themer / Designr Theme Developer Premium Member

    Joined:
    Sep 27, 2010
    Messages:
    359
    Likes Received:
    4
    Trophy Points:
    0
    Location:
    Sunnyside, WA
    I sneak away to look at some other things
    and you guys go nuts :D

    B-Boy sounds like you are just flying along progress wise, which is great to hear :)

    I'm just up long enough to report that testing a custom background on the following programs seems to work so far
    -calendar
    -gallery
    -mms
    -contacts

    will try to get screenshots up asap so you can see :)
Search tags for this page

android stock calender black

,

calendar theming android

,

cool black calendar android

,

creating animation