An open API service indexing awesome lists of open source software.

https://github.com/pcboy/andeogen

Andeogen is a tiny gem to ease android layout development
https://github.com/pcboy/andeogen

Last synced: 8 months ago
JSON representation

Andeogen is a tiny gem to ease android layout development

Awesome Lists containing this project

README

          

# andeogen

andeogen is a tiny gem to ease android layout development.
It's showing the files dependencies used in the given layouts and let you execute a command on them.

## Installation

Add this line to your application's Gemfile:

gem 'andeogen'

And then execute:

$ bundle

Or install it yourself as:

$ gem install andeogen

## Usage

pcboy@home ☭ res % andeogen --help
Options:
--command, -c : the command to execute on selected items
--files, -f : the layouts to parse
--help, -h: Show this message

Example:

pcboy@home ☭ res % andeogen --command vim --files layout/chat_msg.xml layout/chat_msgs.xml
[
[0] "src/main/res/drawable-xhdpi/bubble_yellow.9.png",
[1] "AndroidChatBubbles/HelloBubbles/res/drawable-xhdpi/bubble_yellow.9.png",
[2] "src/main/res/drawable/edittext.xml",
[3] "src/main/res/drawable-hdpi-v4/edittext_indented_active.9.png",
[4] "src/main/res/drawable-hdpi-v4/edittext_indented_normal.9.png"
]
Comma-separate the files' number you want to execute your on:
2

Will run vim on edittext.xml

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request