google-code-export / droiddraw

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

load does not work #172

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.

<?xml version="1.0" encoding="utf-8"?>
  <RelativeLayout 
    android:layout_width="fill_parent" android:layout_height="fill_parent"
    xmlns:android="http://schemas.android.com/apk/res/android">
    <TextView android:id="@+id/hours" android:layout_width="wrap_content"
        android:layout_height="wrap_content" android:text="hours"
        android:layout_alignTop="@+id/forr" android:layout_alignLeft="@+id/min">
    </TextView>
    <TextView android:id="@+id/min" android:layout_width="wrap_content"
        android:layout_height="wrap_content" android:text="min"
        android:layout_alignTop="@+id/interval" android:layout_toRightOf="@+id/interval">
    </TextView>
    <Spinner android:id="@+id/interval" android:layout_width="wrap_content"
        android:layout_height="wrap_content" android:drawSelectorOnTop="true"
        android:layout_below="@+id/check_box" android:layout_alignLeft="@+id/widget35">
    </Spinner>
    <TextView android:id="@+id/forr" android:layout_width="wrap_content"
        android:layout_height="wrap_content" android:text="forr"
        android:layout_alignTop="@+id/widget35"
        android:layout_alignParentLeft="true">
    </TextView>
    <Spinner android:id="@+id/widget35" android:layout_width="wrap_content"
        android:layout_height="wrap_content" android:layout_centerVertical="true"
        android:layout_toRightOf="@+id/every">
    </Spinner>
    <TextView android:id="@+id/every" android:layout_width="wrap_content"
        android:layout_height="wrap_content" android:text="every"
        android:layout_below="@+id/check_box" android:layout_alignParentLeft="true">
    </TextView>
    <CheckBox android:id="@+id/check_box" android:layout_width="wrap_content"
        android:layout_height="wrap_content" android:text="repeat"
        android:layout_below="@+id/set_time_button"
        android:layout_alignParentLeft="true">
    </CheckBox>
    <Button android:id="@+id/set_time_button" android:layout_width="wrap_content"
        android:layout_height="wrap_content" android:text="Set Time"
        android:layout_alignParentTop="true" android:layout_toRightOf="@+id/set_date_button">
    </Button>
    <Button android:id="@+id/set_date_button" android:layout_width="wrap_content"
        android:layout_height="wrap_content" android:text="Set Date"
        android:layout_alignParentTop="true" android:layout_alignParentLeft="true">
    </Button>   
</RelativeLayout>

What is the expected output? What do you see instead?
splatters widgets all over

What version of the product are you using? On what operating system?
web version Firefox 3.6.10

Please provide any additional information below.

Original issue reported on code.google.com by anil.r...@gmail.com on 28 Sep 2010 at 2:50

GoogleCodeExporter commented 9 years ago
RelativeLayout parsing is a beast.  There are definitely bugs there.  Will work 
on fixing.

Original comment by brendan....@gmail.com on 3 Jan 2011 at 10:43

GoogleCodeExporter commented 9 years ago
This is a major issue as without the ability to reload, you can't edit existing 
design files and you then have to resort to manual and guess work.
It only seems to be when you use relative layout.

Original comment by dave.axo...@gmail.com on 18 Jan 2011 at 8:11

GoogleCodeExporter commented 9 years ago
Issue 241 has been merged into this issue.

Original comment by brendan....@gmail.com on 25 Feb 2012 at 9:48