Note that there are some explanatory texts on larger screens.

plurals
  1. POCan not scroll and click item on gridview inside scrollview
    primarykey
    data
    text
    <p>okay guys, i have layout like this</p> <pre><code>&lt;ScrollView android:id="@+id/scrollViewTree" android:layout_width="match_parent" android:layout_height="wrap_content" &gt; &lt;include android:id="@+id/layoutGallery" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/layout_gallery_obstruction" &gt; &lt;/include&gt; &lt;/ScrollView&gt; </code></pre> <p>and this is the *layout_gallery_obstruction*</p> <pre><code>?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" &gt; &lt;TextView android:id="@+id/textViewGalleryObs" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignBaseline="@+id/buttonGalleryObs" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:text="@string/obstruction_title_gallery" /&gt; &lt;Button android:id="@+id/buttonGalleryObs" android:layout_width="100dp" android:layout_height="35dp" android:layout_marginLeft="30dp" android:layout_toRightOf="@+id/textViewGalleryObs" android:text="@string/obstruction_gallery_add" android:textSize="12sp" /&gt; &lt;GridView android:id="@+id/gridViewGalleryObs" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_alignLeft="@+id/textViewGalleryObs" android:layout_below="@+id/buttonGalleryObs" android:columnWidth="90dp" android:gravity="center" android:horizontalSpacing="5dp" android:numColumns="4" android:stretchMode="columnWidth" android:verticalSpacing="5dp" &gt; &lt;/GridView&gt; &lt;/RelativeLayout&gt; </code></pre> <p>i using custom adapter for my gridview and this is the layout for the cell</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" &gt; &lt;ImageButton android:id="@+id/imageButton1" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:background="@android:color/transparent" android:contentDescription="@string/app_name" /&gt; &lt;/RelativeLayout&gt; </code></pre> <p>okay my problem is, i can't scroll my gridview , and i can't click the item on my gridview . anybody know how to fix this ? thanks in adv . :)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload