android : weight 속성을 사용하고 있습니다.LinearLayout에 TextView를 추가 할 때 LinearLayout이 확장됩니다.
첫 번째 상태
http://s1.postimg.org/umygk8han/first.png
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="223"
android:orientation="horizontal" >
</LinearLayout>
이
http://s7.postimg.org/89qjb42dn/two.png
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="223"
android:orientation="horizontal" >
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="Sample"
android:textColor="@android:color/background_dark" />
</LinearLayout>
텍스트 뷰
를 추가는이 문제를 어떻게 해결할 수 있습니까?안부
공유 레이아웃 코드입니다. –