Programming for android: Is it possible to use a GestureOverView with a Gallery? on newest questions tagged android – Stack Overflow

Hi i am working on gesture based app and i want to use GestureOverlayView with gallery this is my XML file but the problem is the gallery is not display.

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
          android:id="@+id/galleryviewlayout"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:orientation="vertical">
  <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="top">
    <Gallery xmlns:android="http://schemas.android.com/apk/res/android"
             android:id="@+id/galleryview"
             android:layout_width="fill_parent"
             android:layout_height="wrap_content"
            />
  </FrameLayout>
  <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="bottom"
        android:foregroundInsidePadding="true">
    <android.gesture.GestureOverlayView
            android:layout_margin="5dp"
            android:id="@+id/GalleryGesture"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">
    </android.gesture.GestureOverlayView>
  </FrameLayout>
</LinearLayout>

See Answers


source: http://stackoverflow.com/questions/8655058/is-it-possible-to-use-a-gestureoverview-with-a-gallery
Programming for android: programming-for-android



online applications demo