Romain Guy
9bda7101b8
Fix the MergeRootFrameLayout rule by checking the presence of padding.
...
Change-Id: I3a8b257025e74f6899233d9b99f7f86b5675e997
2009-10-07 12:31:17 -07:00
Romain Guy
ece784c583
Fix error in InefficientWeight rule. It would wrongly assume 0dip != 0dip.
...
Change-Id: I2ab9b3c6b57744563c87cb8457c55afd0cbfcb57
2009-10-06 16:22:58 -07:00
Romain Guy
1e2cbdfa84
New rules for layoutopt: IncorrectHeight/WidthIn[Horizontal]ScrollView, UselessView.
...
This change also refactors the uix library to remove an unnecessary class (LayoutNode.)
The refactoring helps writing cleaner script by accessing only the node object instead
of xml and node. This change also augment the capabilities of the node in Groovy scripts.
Change-Id: Id7515f9a79826909834d82496a6d9dfbc19988ad
2009-10-06 11:42:02 -07:00
Romain Guy
4796120e05
Add 3 more rules to layoutopt/uix:
...
- InefficientWeight
- NestedScrollingWidgets
- TooManyChildren
Change-Id: Ic8fe0b36e0a7cac523d223e5f8d96d7959919da6
2009-10-05 18:05:44 -07:00
Romain Guy
5a31898020
Add new rules to layoutopt: UseCompoundDrawables and UselessLayout.
...
Change-Id: I5dfb2567d923da8442b1df1e703e4ebca6e9523b
2009-10-05 11:59:21 -07:00
Romain Guy
3958d08fd4
New layout optimization tool. Run layoutopt on the command line.
...
Change-Id: I8e4697e19ca8a203dc8a41b464f7cb46d52184b0
2009-10-05 03:48:33 -07:00