Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ManuelPeinado/GlassActionBar
Android - a library that adds a glass-like effect to the action bar.
https://github.com/ManuelPeinado/GlassActionBar
Last synced: 2 months ago
JSON representation
Android - a library that adds a glass-like effect to the action bar.
- Host: GitHub
- URL: https://github.com/ManuelPeinado/GlassActionBar
- Owner: ManuelPeinado
- License: apache-2.0
- Created: 2013-06-23T08:44:04.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-05-05T22:06:20.000Z (over 6 years ago)
- Last Synced: 2024-07-31T18:17:08.525Z (5 months ago)
- Language: Java
- Homepage:
- Size: 9.5 MB
- Stars: 1,215
- Watchers: 67
- Forks: 232
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
- -awesome-android-ui - GlassActionBar - 2.0) | <img src="/art/GlassActionBar.png" width="100%"> (Index `(light-weight pages)`)
- awesome-android-ui - GlassActionBar - 2.0) | <img src="/art/GlassActionBar.png" width="100%"> (Index `(light-weight pages)`)
- awesome-android-person - GlassActionBar
- awesome-android-ui - GlassActionBar - 2.0) | <img src="/art/GlassActionBar.png" width="100%"> (Index)
- awesome-android-ui - https://github.com/ManuelPeinado/GlassActionBar
- awesome-android-ui - https://github.com/ManuelPeinado/GlassActionBar
README
GlassActionBar
==================GlassActionBar is an Android library which implements a glass-like effect for the action bar.
The three most commonly used action bar implementations are supported: stock (API >13), ActionBarCompat and ActionBarSherlock.
The code of this library is based on techniques outlined by Nicolas Pomepuy in [a recent blog post][1].
![Example Image][2]
Try out the sample application:
Or browse the [source code of the sample application][3] for a complete example of use.
Including in your project
-------------------------The library is pushed to Maven Central as a AAR, so you just need to add the following dependency to your `build.gradle`.
dependencies {
compile 'com.github.manuelpeinado.glassactionbar:glassactionbar:0.3.0'
}
Or if your project doesn't use the stock action bar, but one of the compatibility implementations, you would use the following:dependencies {
// Use the following if your project uses ActionBarCompat
compile 'com.github.manuelpeinado.glassactionbar:glassactionbar-abc:0.3.0'
// Or the following if your project uses ActionBarSherlock
compile 'com.github.manuelpeinado.glassactionbar:glassactionbar-abs:0.3.0'
}Usage
-----Using the library is really simple, just look at the source code of the provided samples:
* [Stock action bar][3].
* [ActionBarCompat][4]
* [ActionBarSherlock][5]Acknowledgements
--------------------* Thanks to [Nicolas Pomepuy][1] for sharing the techniques that make this library possible.
* The gaussian blur effect is based on code by [Mario Klingemann][8] which was ported to Android by [Yahel Bouaziz][9].
* NotifyingScrollView class by [Cyril Mottier][10].
* The project organization is heavily inspired by Chris Bane's [ActionBar-PullToRefresh][11] library.
* Cat icon by [Davic Vignoni][12].Who's using it
--------------*Does your app use GlassActionBar? If you want to be featured on this list drop me a line.*
Developed By
--------------------Manuel Peinado Gallego -
License
-----------Copyright 2013 Manuel Peinado
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.[1]: http://nicolaspomepuy.fr/?p=18
[2]: https://raw.github.com/ManuelPeinado/GlassActionBar/master/art/readme_pic.png
[3]: https://github.com/ManuelPeinado/GlassActionBar/tree/master/samples-stock
[4]: https://github.com/ManuelPeinado/GlassActionBar/tree/master/samples-actionbarcompat
[5]: https://github.com/ManuelPeinado/GlassActionBar/tree/master/extras-actionbarsherlock
[6]: https://github.com/mosabua/maven-android-sdk-deployer
[7]: https://github.com/ManuelPeinado/GlassActionBar/tree/master/samples
[8]: http://www.quasimondo.com/
[9]: https://plus.google.com/107352914145283602089
[10]: http://www.cyrilmottier.com
[11]: https://github.com/chrisbanes/ActionBar-PullToRefresh
[12]: http://www.icon-king.com/