Skip to content

Commit

Permalink
fixed images sizing in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorzojdana committed Mar 2, 2018
1 parent fddc77e commit d218bcd
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

ItemDecoration for RecyclerView that allows you to set spacing between and around list items in flexible way.

<img src="https://raw.githubusercontent.com/grzegorzojdana/spacingitemdecoration/master/art/staggered.png" width="320">

![sample](https://raw.githubusercontent.com/grzegorzojdana/spacingitemdecoration/master/art/sample.gif "Sample")
<img src="https://raw.githubusercontent.com/grzegorzojdana/spacingitemdecoration/master/art/staggered.png" height=500> <img src="https://raw.githubusercontent.com/grzegorzojdana/spacingitemdecoration/master/art/sample.gif" height=500>

## How to install

Expand Down Expand Up @@ -44,8 +42,7 @@ There are several spacing modifiers:
* `item` rectangle defines inset for each item (similar to item padding).
* `edges` rectangle means offsets from the parent (RecyclerView) edges (similar to RecyclerView padding).

<img src="https://raw.githubusercontent.com/grzegorzojdana/spacingitemdecoration/master/art/grid.png" width=320>
<img src="https://raw.githubusercontent.com/grzegorzojdana/spacingitemdecoration/master/art/grid-draw-with-legend.png" width=320>
<img src="https://raw.githubusercontent.com/grzegorzojdana/spacingitemdecoration/master/art/grid.png" height=500> <img src="https://raw.githubusercontent.com/grzegorzojdana/spacingitemdecoration/master/art/grid-draw-with-legend.png" height=500>

This library doesn't modify padding of any view, but calculates item offsets basing on given parameters.

Expand Down

0 comments on commit d218bcd

Please sign in to comment.