What steps will reproduce the problem?
1. If you use copy this short xml code into the editor and "load". then click
"generate" it will remove the weight and weightSum from the XML code. This can
be reproduced on the web version and standalone everytime.
-------
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:id="@+id/widget27"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:weightSum="2"
>
<LinearLayout
android:id="@+id/top_view"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_weight="1"
>
</LinearLayout>
<LinearLayout
android:id="@+id/bottom_view"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_weight="1"
>
</LinearLayout>
</LinearLayout>
----------------
What is the expected output? What do you see instead?
Expect to not see the weightSum and weight disappear from XML code.
What version of the product are you using? On what operating system?
Latest version of dd.r1.b18 using Windows 7, and when using DroidDraw online I
used google chrome.
Attached the XML file as well.
Original issue reported on code.google.com by viperso...@gmail.com on 11 Apr 2011 at 10:03
Original issue reported on code.google.com by
viperso...@gmail.com
on 11 Apr 2011 at 10:03Attachments: