machen Ich möchte meine Textansicht multiline machen.Wie man eine TextView mehrzeilige programmatisch in Android (Java)
Image: http://s13.postimg.org/y0q78e1yv/Capture.png
Aber wie kann ich meinen Text mehrzeilige machen?
Welches Atribut?
TextView txt_tweet = (TextView) View.inflate(this, R.layout.special_textview, null);
special_textview
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:paddingLeft="20dp"
android:paddingRight="20dp"
android:paddingBottom="5dp"
android:inputType="textMultiLine"
android:scrollHorizontally="false">
</TextView>
Bitte machen Sie ein wenig Forschung vor dem Posten solcher Fragen ... –
@MurtazaKhursheedHussain Ich habe das Problem seit drei Tagen: http: // stackoverflow.com/questions/15032870/create-a-multiline-edittext-programmatisch ich überprüfte so etwas, ich denke, 10-20 Websites, aber es funktioniert nicht – mistermm