<LinearLayout xmlns:android="<a target="_blank" href="http://schemas.android.com/apk/res/android">http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<Button
android:id="@+id/button2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="처음으로" />
<EditText
android:id="@+id/editText2"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:ems="10"
android:inputType="textMultiLine" >
</EditText>
</LinearLayout>
A 코드
B 코드
<LinearLayout xmlns:android="<a target="_blank" href="http://schemas.android.com/apk/res/android">http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<Button
android:id="@+id/button2"
android:layout_width="37dp"
android:layout_height="wrap_content<br> android:text="처음으로" />
<EditText
android:id="@+id/editText2"
android:layout_width="wrap_content<br> android:layout_height="match_parent"
android:layout_weight="1"
android:ems="10"
android:inputType="textMultiLine" >
<requestFocus />
</EditText>
</LinearLayout>
처음에 B코드는 실행이 되지 않았습니다.
A코드를 어찌 만들어서 붙였더니 잘 실행됩니다.
다시 B코드를 복사해서 대치 했더니 또 잘됩니다.
뭐가 문제이길래 이런 현상이 나올까요.
참, a target 는 게시판상에서 나오는 현상이네요. 링크 제한 효과 때문 인듯 합니다.
댓글 0