Skip to content

Commit

Permalink
added github page text
Browse files Browse the repository at this point in the history
  • Loading branch information
damonsmith committed May 7, 2014
1 parent a5911c1 commit 98cadbc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,18 @@ EvenlySpacedGrid
================

Android implementation of an Evenly Spaced Grid ViewGroup

Usage
-----
1. import module,
2. add it as library project for your app
3. add xmlns:evenlySpacedGrid="http://schemas.android.com/apk/res-auto" to the root view in your layout
3. copy the xml for EvenlySpacedGrid from example.xml into your layout

How it works
------------
EvenlySpacedGrid assumes all child views are the same size, and have a set width and height.

It spaces out the elements so that they are evenly spaced into rows and columns, fitting as many as it
can into a row before going to the next row.

0 comments on commit 98cadbc

Please sign in to comment.