aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eclipse/dictionary.txt2
-rwxr-xr-xeclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/TabHostRule.java5
2 files changed, 7 insertions, 0 deletions
diff --git a/eclipse/dictionary.txt b/eclipse/dictionary.txt
index 29219a7..cc6db64 100644
--- a/eclipse/dictionary.txt
+++ b/eclipse/dictionary.txt
@@ -77,6 +77,7 @@ fallback
foo
foreach
fqcn
+framelayout
gen
groovy
guava
@@ -175,6 +176,7 @@ snip
spec
standalone
stash
+stateful
stateless
stderr
stdout
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/TabHostRule.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/TabHostRule.java
index 9f8ea80..1029112 100755
--- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/TabHostRule.java
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/TabHostRule.java
@@ -66,6 +66,11 @@ public class TabHostRule extends IgnoredLayoutRule {
frame.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, fillParent);
frame.setAttribute(ANDROID_URI, ATTR_LAYOUT_HEIGHT, fillParent);
frame.setAttribute(ANDROID_URI, ATTR_ID, "@android:id/tabcontent"); //$NON-NLS-1$
+
+ INode child = frame.appendChild(FQCN_LINEAR_LAYOUT);
+ child.setAttribute(ANDROID_URI, ATTR_LAYOUT_WIDTH, fillParent);
+ child.setAttribute(ANDROID_URI, ATTR_LAYOUT_HEIGHT, fillParent);
+ child.setAttribute(ANDROID_URI, ATTR_ID, "@+id/contentlayout"); //$NON-NLS-1$
}
}