kodaligopi547 / droiddraw

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

Namespace declaration needs to be only once in the XML file and in the top element #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The "xmlns:android="http://schemas.android.com/apk/res/android" namespae 
doesn't need to be in several elements like here:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
android:id="@+id/widget29"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<LinearLayout
android:id="@+id/widget30"
android:layout_width="200px"
android:layout_height="233px"
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
>
<EditText
android:id="@+id/widget34"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="EditText"
android:textSize="18sp"
>
</EditText>
<EditText
android:id="@+id/widget32"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="EditText"
android:textSize="18sp"
>
</EditText>
<TextView
android:id="@+id/widget33"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="TextView"
>
</TextView>
<RadioGroup
android:id="@+id/widget35"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
>
<RadioButton
android:id="@+id/widget40"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="RadioButton"
>
</RadioButton>
<RadioButton
android:id="@+id/widget41"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="RadioButton"
>
</RadioButton>
</RadioGroup>
</LinearLayout>
</RelativeLayout>

Original issue reported on code.google.com by fja...@gmail.com on 21 Mar 2008 at 2:01

GoogleCodeExporter commented 9 years ago
This has been fixed in SVN and will be present in the next release.

Original comment by brendan....@gmail.com on 22 Mar 2008 at 2:17