nuptboyzhb / droiddraw

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

Generate - Load xml loading ImageButton defect #181

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load xml e.g.

    <ImageButton
            android:id="@+id/image_button"
            android:layout_width="108px"
            android:layout_height="106px"
            android:layout_x="40px"
            android:layout_y="22px"
            android:src="@drawable/pic1"
            >
    </ImageButton>

2. Change position of the button in designer
3. Press Generate button
4. Result (android:src="@drawable/pic1" disappeared):
    <ImageButton
            android:id="@+id/image_button"
            android:layout_width="108px"
            android:layout_height="106px"
            android:layout_x="40px"
            android:layout_y="22px"
            >
    </ImageButton>

For the same time ImageView with android:src works correctly

Version: r1b16 standalone executable
OS: Windows XP SP2

Please provide any additional information below.

Original issue reported on code.google.com by Kopit...@gmail.com on 1 Nov 2010 at 2:48

GoogleCodeExporter commented 8 years ago
Fix committed to SVN, it will roll out with the next release.

Original comment by brendan....@gmail.com on 6 Nov 2010 at 11:25