OSDN Git Service

Add new rules to layoutopt: UseCompoundDrawables and UselessLayout.
authorRomain Guy <romainguy@android.com>
Mon, 5 Oct 2009 18:58:09 +0000 (11:58 -0700)
committerRomain Guy <romainguy@android.com>
Mon, 5 Oct 2009 18:59:21 +0000 (11:59 -0700)
commit5a31898020b7b93a32faab3d1efb601543e88690
tree6a9b13beab36acdeaf5db7a0eea68e133adc02bf
parent06f70393bd6c10c24136492a4616019822c63299
Add new rules to layoutopt: UseCompoundDrawables and UselessLayout.

Change-Id: I5dfb2567d923da8442b1df1e703e4ebca6e9523b
tools/layoutopt/libs/Android.mk
tools/layoutopt/libs/uix/src/com/android/layoutopt/uix/LayoutAnalyzer.java
tools/layoutopt/libs/uix/src/resources/rules/MergeRootFrameLayout.rule
tools/layoutopt/libs/uix/src/resources/rules/TooManyLevels.rule
tools/layoutopt/libs/uix/src/resources/rules/TooManyViews.rule
tools/layoutopt/libs/uix/src/resources/rules/UseCompoundDrawables.rule [new file with mode: 0644]
tools/layoutopt/libs/uix/src/resources/rules/UselessLayout.rule [new file with mode: 0644]
tools/layoutopt/samples/compound.xml [new file with mode: 0644]
tools/layoutopt/samples/useless.xml [new file with mode: 0644]