# 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)
没有合适的资源?快使用搜索试试~ 我知道了~
小程序源码 APP源码 OpenLibra-Material-master_22(仿版).zip
共58个文件
xml:22个
java:15个
png:12个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 192 浏览量
2023-03-11
09:38:09
上传
评论
收藏 241KB ZIP 举报
温馨提示
免责声明:资料部分来源于合法的互联网渠道收集和整理,部分自己学习积累成果,供大家学习参考与交流。收取的费用仅用于收集和整理资料耗费时间的酬劳。 本人尊重原创作者或出版方,资料版权归原作者或出版方所有,本人不对所涉及的版权问题或内容负法律责任。如有侵权,请举报或通知本人删除。
资源推荐
资源详情
资源评论
收起资源包目录
小程序源码 APP源码 OpenLibra-Material-master_22(仿版).zip (58个子文件)
OpenLibra-Material-master
gradle.properties 855B
app
src
main
assets
Lobster-Regular.ttf 420KB
java
com
saulmm
openlibra
other
CustomAnimatorListener.java 457B
CustomTransitionListener.java 606B
activities
DetailActivity.java 7KB
MainActivity.java 899B
OnItemClickListener.java 140B
fragments
BooksFragment.java 6KB
ScrollViewListener.java 191B
network
Api.java 2KB
models
Book.java 2KB
BookList.java 183B
views
Utils.java 3KB
adapters
BookAdapter.java 6KB
views
LobstertextView.java 779B
ObservableScrollView.java 1KB
RecyclerInsetsDecoration.java 1023B
res
anim
fab_animation.xml 1000B
translate_up_on.xml 364B
translate_to_bottom.xml 327B
alpha_on.xml 221B
translate_up_off.xml 454B
alpha_off.xml 221B
drawable-mdpi
ic_file_download_white_36dp.png 277B
ic_done_white_36dp.png 309B
ic_launcher.png 5KB
drawable-xhdpi
ic_file_download_white_36dp.png 351B
ic_done_white_36dp.png 476B
ic_launcher.png 14KB
drawable-xxhdpi
ic_file_download_white_36dp.png 514B
ic_done_white_36dp.png 629B
ic_launcher.png 19KB
menu
menu_main.xml 338B
values-v21
styles.xml 959B
values-w820dp
dimens.xml 358B
values
dimens.xml 338B
colors.xml 471B
integers.xml 185B
strings.xml 1KB
styles.xml 357B
layout
fragment_books.xml 450B
activity_main.xml 1KB
activity_detail.xml 6KB
item_book.xml 2KB
drawable
ripple_round.xml 304B
gradient_black.xml 235B
card_background.xml 605B
drawable-hdpi
ic_file_download_white_36dp.png 354B
ic_done_white_36dp.png 403B
ic_launcher.png 9KB
AndroidManifest.xml 1KB
proguard-rules.pro 656B
build.gradle 862B
.gitignore 7B
build.gradle 436B
settings.gradle 15B
.gitignore 475B
README.md 2KB
共 58 条
- 1
资源评论
金枝玉叶9
- 粉丝: 137
- 资源: 7640
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功