akovacs/droiddraw

Doubling of position entries

Closed this issue · 2 comments

Open a new layout.
Add a widget.
Generate.
Save .xml
Close DroidDraw
Reopen 
Open saved .xml
Move widget
Now have duplicate _x, _y entries

    xmlns:android="http://schemas.android.com/apk/res/android">
<TextView
    android:id="@+id/widget32"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="TextView"
    android:layout_x="90dp"
    android:layout_y="192dp" />
</AbsoluteLayout>

becomes

    xmlns:android="http://schemas.android.com/apk/res/android">
<TextView
    android:id="@+id/widget32"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="TextView"
    android:layout_x="110dp"
    android:layout_y="162dp"
    android:layout_x="90dp"
    android:layout_y="192dp" />
</AbsoluteLayout>




Original issue reported on code.google.com by dmp...@gmail.com on 25 Apr 2012 at 8:16

Same effect occurs if .xml loaded and 'Generate' clicked

Original comment by dmp...@gmail.com on 25 Apr 2012 at 8:42

Fixed in SVN, and will roll out with the next release.

Original comment by brendan....@gmail.com on 28 Apr 2012 at 3:56

  • Changed state: Fixed