Android: Horizontal list view in vertical scroll view?

I want to make the same implementation a pulse application.

Horizontal list view inside a vertical list view.

  • How to create an excel file in android?
  • How to release application plugin using Android Market?
  • What causes a MotionEvent.ACTION_CANCEL in Android?
  • How to change app name per Gradle build type
  • android: how to load xml file from assets directory?
  • Default selector background in Clickable Views
  • enter image description here

    i tried this project for horizontal list view, but when i am trying to scroll horizontal the vertical scroll active and the list is goes up and down.
    how can i prevent this issues.

  • Android create custom overflow menu item
  • Choose folder on Android device
  • Android widget: How to change the text of a button
  • Actionbarsherlock + tabs + multi fragments?
  • Convert a Bitmap to GrayScale in Android
  • Programmatically collapse a group in ExpandableListView
  • 3 Solutions collect form web for “Android: Horizontal list view in vertical scroll view?”

    It would be much easier if you paste your piece of code with your question, allowing to see why it goes wrong. My best guess without this information is to check you usage of fill_parent vs wrap_content.

    it’s work on my app…

    just like pulse app… horizontallistview inside vertical listview

    this is the solution…

    just put this code in u’r onscroll of HorizontalListview class…

    ViewParent viewParent = getParent();
    
    if (viewParent != null) {
    
        viewParent.requestDisallowInterceptTouchEvent(true);
    
    }
    

    i think you should use some horizontal scrollviews in a vertical scrollview. and in each horizontal scrollview, you can give listview, gridview, etc… if you want. I think it’s better solution for this problem. 🙂

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.