B
b18a9n
Neues Mitglied
- 1
Hallo bekomme beim erstellen meines Layoutes Folgende Meldung
Hat jemand eine Idee wo der Fehler herkommt und was ich da gegen machen kann?
Edit:
Ich Tollpatsch ListView in in ScrollView geht nicht muss LinearLayout sein
Mein Layout sieht so ausUnsupportedOperationException: addView(View, LayoutParams) is not supported in AdapterView
Code:
<?xml version="1.0" encoding="utf-8"?>
<ScrollView android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android">
<ListView android:layout_width="wrap_content" android:layout_height="wrap_content" xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:text="@string/txt_bla_head_1" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/Head"/>
<TextView android:text="@string/txt_bla_txt_1" android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/txt"/>
</ListView>
</ScrollView>
Edit:
Ich Tollpatsch ListView in in ScrollView geht nicht muss LinearLayout sein
Anhänge
Zuletzt bearbeitet: