JorgeCastilloPrz / ExpandablePanel

Android library for creating an expandable to full screen view inside a viewgroup composition.
Apache License 2.0
422 stars 67 forks source link

Add attribute to customize animable view inside ExpandablePanelView #1

Closed pedrovgs closed 10 years ago

pedrovgs commented 10 years ago

With the current implementation library users has to use as animable view the child at position 0 or 1 depending on the expandablepanel:invertBehavior attribute. I've added a new styleable attribute to customize the animable view using a animableViewId.

With this new feature you can add more views to your ExpandablePanelView and put the animable view at 0 or 1 position is not mandatory. This new attribute is not mandatory and library users doesn't have use it if they don't have more than two views inside ExpandablePanelView or the new child is above the second child view.

I've updated two fragments with this new attribute and added more information in the README.md to explain the usage.

JorgeCastilloPrz commented 10 years ago

Thanks Pedro ;D

pedrovgs commented 10 years ago

a ti salao ;)

2014-08-05 19:19 GMT+02:00 Jorge Castillo notifications@github.com:

Thanks Pedro ;D

— Reply to this email directly or view it on GitHub https://github.com/JorgeCastilloPrz/ExpandablePanel/pull/1#issuecomment-51229702 .