Skip to content

Commit

Permalink
readme fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarp Centel committed May 9, 2012
1 parent a5b6de9 commit 305ad88
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
@@ -1,7 +1,8 @@
This project demonstrates how to create Android buttons with gradients, strokes and rounded corners using Android's built-in drawable resources.
![Buttons Overview](http://dl.dropbox.com/u/117731/buttons_main.png)

## Usage
In your layout, apply *lightboxButton.Blue*, *lightboxButton.Green* or *lightboxButton.Grey* style to your button after adding this Android Library Project as a reference.
In your layout, apply ``lightboxButton.Blue``, ``lightboxButton.Green`` or ``lightboxButton.Grey`` style to your button after adding this Android Library Project as a reference.

**Example:**
```xml
Expand All @@ -17,7 +18,7 @@ In your layout, apply *lightboxButton.Blue*, *lightboxButton.Green* or *lightbox
``git clone git://github.com/lightbox/lightbox-buttons.git``
2. Import LightboxButtons project into Eclipse:
``File -> Import Existing Projects into Workspace -> Select root directory
choose *lightbox-buttons* folder and Finish.``
choose lightbox-buttons folder and Finish.``
3. Add LightboxButtons as a reference to your project:
``Right click on your Android Project, choose Properties -> Android -> Library -> Add and select "LightboxButtons" project.``

Expand All @@ -26,6 +27,11 @@ choose *lightbox-buttons* folder and Finish.``
* Easy to create color variations of the same button
* No need to use image editing tools such as Photoshop

## Screenshots
![Blue Buttons](http://dl.dropbox.com/u/117731/buttons_blue.png)
![Grey Buttons](http://dl.dropbox.com/u/117731/buttons_grey.png)
![Green Buttons](http://dl.dropbox.com/u/117731/buttons_green.png)

## Limitations
There is no inheritance mechanism for drawables, so you need to duplicate your XML files for different colors of the same button

Expand Down

0 comments on commit 305ad88

Please sign in to comment.