Ich habe Probleme beim Positionieren der Layoutelemente. Das AutoComplete in meinem TableLayout und die Schaltfläche danach erweitern das TableRow größer als die Breite des Bildschirms. Jeder hat eine Idee warum? Unten ist mein XML-Code sowie ein Bild des Problems.Android - UI Elemente gehen aus dem Bildschirm
Vielen Dank im Voraus!
<?xml version="1.0" encoding="utf-8"?>
<TableRow android:layout_width="fill_parent"
android:layout_height="wrap_content">
<AutoCompleteTextView android:id="@+id/installation"
android:textSize="14sp" android:completionThreshold="3" />
</TableRow>
<TableRow android:layout_width="fill_parent"
android:layout_height="wrap_content">
<Button android:id="@+id/btn_find" android:text="@string/btn_find"></Button>
</TableRow>
<TableRow android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TextView android:id="@+id/error" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:paddingTop="20px"
android:textColor="#FF0000" />
</TableRow>
Sieht es auch so auf einem tatsächlichen Gerät aus? –