OSDN Git Service

AI 143303: am: CL 143156 am: CL 142851 ADT GLE fix #1731389: widgets dropped in ...
authorRaphael Moll <>
Sat, 28 Mar 2009 00:53:01 +0000 (17:53 -0700)
committerThe Android Open Source Project <initial-contribution@android.com>
Sat, 28 Mar 2009 00:53:01 +0000 (17:53 -0700)
commitfdca23b566aa881f5b3999801b8a5daf7ba1bc6c
treef97e80e2766b5771bd664902194d3f6111881645
parent9e09e766879a66ef56721c1e46be79c85ddacf0a
AI 143303: am: CL 143156 am: CL 142851 ADT GLE fix #1731389: widgets dropped in <merge> lack their default layout_widht/height.
  Issue: <merge> did not have layout attributes. When new widgets are
  dropped in a layout, GLE only adds layout width/height if the parent
  supports them.
  Fix: Make <merge> have layout attributes from FrameLayout. The ideal
  choice would have been ViewGroup, but since ViewGroup is abstract we
  don't have any ViewDescriptor for it. FrameLayout should provide a
  sensible replacement.
  Note: this requires CL 142780 to compile.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build
  Merged from: //branches/donutburger/...

Automated import of CL 143303
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/sdk/LayoutParamsParser.java
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/common/AndroidConstants.java
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/editors/layout/descriptors/LayoutDescriptors.java
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/editors/layout/parts/DropFeedback.java
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/editors/layout/uimodel/UiViewElementNode.java