Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saulmm/openlibra-material
OpenLibra client on Material Design
https://github.com/saulmm/openlibra-material
Last synced: 1 day ago
JSON representation
OpenLibra client on Material Design
- Host: GitHub
- URL: https://github.com/saulmm/openlibra-material
- Owner: saulmm
- Created: 2014-11-15T00:53:21.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-09T21:43:40.000Z (about 9 years ago)
- Last Synced: 2024-04-16T11:57:50.793Z (7 months ago)
- Language: Java
- Homepage:
- Size: 525 KB
- Stars: 359
- Watchers: 17
- Forks: 78
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenLibra-Material
This repositores aims to show examples about material design in a real app, the application is a client of the webpage [OpenLibra](http://www.etnassoft.com/biblioteca/) a spanish web to download open source books.
## An example of how implement an adapter using Palette to tint each cell in a RecyclerView.
This example is implemented with a `RecyclerView` a `GridLayoutManager` and an `Adapter` the adapter loads colors obtained from the `Palette` library of each cell to draw a `View` with the colors.
![](https://lh3.googleusercontent.com/-tSvezqWH5Sc/VGnprr1k1DI/AAAAAAAAxLc/U7-jN2Am5yo/w1200-h1064-no/palette_adapter.gif)
## Building my own choreography with SharedElements
Implemented a detail activity working with shared elements and animations, setting the order of each animation that composes the choreograpy, you can follow the material desing principle 'Motion provides meaning', _'All action takes place in a single environment. Objects are presented to the user without breaking the continuity of experience even as they transform and reorganize'_
![](https://lh3.googleusercontent.com/-3L0DTHYEdO8/VIhqAwbNBiI/AAAAAAAAy2Q/wD_yJXvK6Ho/w822-h1482-no/expand_animation.gif)
## Setting a RecyclerView insets and made translucent the Toolbar
Set the RecyclerView insets, to show a little gap between columns and rows, and made the Toolbar translucent, as the last Field Trip app update, reaching a pretty effect.
![](https://camo.githubusercontent.com/8410b82d5ed9656c4e4500f7422779baaee3e1f4/68747470733a2f2f676f6f676c6564726976652e636f6d2f686f73742f30423632535a3357524d32523264586c575a6d46736433647653456b)