Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Button inside ObservableScrollView in FillGap2ScrollViewActivity #266

Open
joynamu opened this issue Nov 25, 2016 · 0 comments
Open

Comments

@joynamu
Copy link

joynamu commented Nov 25, 2016

Actually, I am using ObservalableScrollView to moving image
When i put buttons inside ObservalableScrollView.
And I can't click buttons, when scrolling up in the specific area such as image

Layout would be the below

<ImageView
    android:id="@+id/image"
    android:layout_width="match_parent"
    android:layout_height="@dimen/flexible_space_image_height"
    android:scaleType="centerCrop"
    android:src="@drawable/cartune_rectangle_without_border_transparent" />

    <com.joynamu.cartune.common.ext.Observable.ObservableScrollView
        android:id="@+id/scroll"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginTop="@dimen/flexible_space_image_height"
        android:scrollbars="none">

       <LinearLayout
           android:layout_width="match_parent"
           android:layout_height="wrap_content"
           android:orientation="vertical">

          <Button
               android:layout_width="match_parent"
               android:layout_height="50dp"
               android:text="test1"/>     

          <Button
               android:layout_width="match_parent"
               android:layout_height="50dp"
               android:text="test2"/>   

          <Button
               android:layout_width="match_parent"
               android:layout_height="50dp"
               android:text="test3"/>   

               .........             

       </LinearLayout


  </com.joynamu.cartune.common.ext.Observable.ObservableScrollView>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant