Skip to content

Instantly share code, notes, and snippets.

View joaquinlom's full-sized avatar

Joaquin alan valdez lom joaquinlom

  • Mexico
View GitHub Profile
@joaquinlom
joaquinlom / README.md
Created January 4, 2018 21:31 — forked from manumaticx/README.md
Fading ActionBar in Titanium

Fading Actionbar

This is a quick example of how to create a fading actionbar effect like this in Appcelerator Titanium

fadingactionbar

How this works

This is actually very simple. The trick is putting the Actionbar in overlay mode by configuring the theme with windowActionBarOverlay:true. Then all you need to do is updating the color of the Actionbar, in this case by scrolling a ScrollView.