nkzxw / droiddraw

Automatically exported from code.google.com/p/droiddraw
0 stars 0 forks source link

Doubling of position entries #248

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Same effect occurs if .xml loaded and 'Generate' clicked

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

GoogleCodeExporter commented 9 years ago
Fixed in SVN, and will roll out with the next release.

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