marciodrosa/ZineMob — Issue #7: LayoutFixers refactoring
Author: marciodrosa
Created: 2012-03-06 02:34:50+00:00
State: open
Labels: feature

Some refactorings:

- change the name: LayoutFixer to Layout (and all methods and subclasses should be updated)
- the class DrawableElement should not have the padding and margin attributes. Only the LinearLayout should use those attributes, so, they should be setted on this class (only the component class can keep those attributes).
- the LinearLayout should be completely refactored. It has bugs and it is very difficult to maintain.
- the methods on different classes that uses LinearLayout should be standardized. For example, the Container class has methods called "add", but in the others classes, the methods are called "addChild".