Layout Drawer doesn't add new view in a new line

Posted by user547995 on Stack Overflow See other posts from Stack Overflow or by user547995
Published on 2011-01-04T22:48:42Z Indexed on 2011/01/04 22:53 UTC
Read the original article Hit count: 167

Filed under:

Hy!!

If i want to add a textview and a textedit, both are in the same line

I have a Linear Layout

    <?xml version="1.0" encoding="utf-8"?>
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="wrap_content"
  android:layout_height="wrap_content">

<TextView android:text="@+id/TextView01" android:id="@+id/TextView01" android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView>
<EditText android:text="@+id/EditText01" android:id="@+id/EditText01" android:layout_width="wrap_content" android:layout_height="wrap_content"></EditText>
</LinearLayout>

What i have made wrong?

© Stack Overflow or respective owner

Related posts about android