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
This commit is contained in:
Romain Guy
2009-10-06 11:37:46 -07:00
parent d9050e6102
commit 1e2cbdfa84
18 changed files with 220 additions and 238 deletions

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<HorizontalScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</HorizontalScrollView>