L
lukluk
Neues Mitglied
- 0
Hallo,
ist es möglich eine GridView in einer ScrollView darzustellen? In meiner GridView sind ca 10 Buttons. Es wird aber immer nur die erste Zeile dargestellt!
Hat jemand ne idee?
ist es möglich eine GridView in einer ScrollView darzustellen? In meiner GridView sind ca 10 Buttons. Es wird aber immer nur die erste Zeile dargestellt!
Hat jemand ne idee?
Code:
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/scrollView"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal" >
<GridView
android:id="@+id/gridView1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:numColumns="3" >
</GridView>
</LinearLayout>
</ScrollView>