Hallo. Ich lerne mit Android Studio Flamingo und bekomme immer diese
Warnung:
Code
editTextTextMultiLine <EditText> has lines containing more than 120 characters
The text field editTextTextMultiLine <EditText> is too wide
Was genau muss ich ändern damit die Warnung verschwindet?
Danke.
main_menu.xml
XML
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#E0F2F1"
android:orientation="vertical">
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
android:text="@string/text_view"
android:textSize="50sp" />
<EditText
android:id="@+id/editTextTextMultiLine"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:autofillHints="true"
android:ems="10"
android:gravity="start|top"
android:hint="@string/multi_view"
android:inputType="textMultiLine"
android:text="@string/multi_view"
/>
</LinearLayout>
Alles anzeigen