Android: Linear Layout new Line
Stworzyłem LinearLayout jak poniżej z TextView. Tekst jest zmienny. Jeśli elementy stają się większe niż szerokość układu, robi się nieprzyjemnie. Chcę, aby tekst płynął do nowego wiersza, tak jak robiłbym to podczas pisania książki. czy to możliwe?
<code><LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" > <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="xx" android:textAppearance="?android:attr/textAppearanceSmall" /> <EditText ...> <TextView android:id="@+id/textView2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="xx" android:textAppearance="?android:attr/textAppearanceSmall" /> </LinearLayout> </code>
edytować
lubię to:
textview1text edittext textview2textview2continuesin2ndrownie tak jak to:
textview1text edittext textview2texttextview1cont