ExpandableLayout icon indicating copy to clipboard operation
ExpandableLayout copied to clipboard

Horizontal RecyclerView inside ExpandableLayout

Open NikiFoD opened this issue 8 years ago • 5 comments

Hi, I have been trying to have a button pressed, which will expand vertically a layout showing a horizontal RecyclerView. Also, the items of the RecyclerView to have gravity right. I have tried ExpandableRelativeLayout, ExpandableLinearLayout and ExpandableWeightLayout, with different configurations, but nothing seems to work. Examples of problems encountered: Layout expanding but list not showing, layout always expanded/toggle button does nothing, layout expanding but to a smaller size than that of the list, etc.

You have examples of a RecyclerView that includes ExpandableLayout. Is the opposite possible? Thanks.

Example layout:

<com.github.aakira.expandablelayout.ExpandableRelativeLayout
            android:id="@+id/expandable_layout"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/show_button"
            app:ael_duration="700"
            app:ael_expanded="false"
            app:ael_interpolator="bounce"
            app:ael_orientation="horizontal">

            <android.support.v7.widget.RecyclerView
                android:id="@+id/expandable_list"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content">
            </android.support.v7.widget.RecyclerView>

        </com.github.aakira.expandablelayout.ExpandableRelativeLayout>

NikiFoD avatar Apr 20 '16 10:04 NikiFoD

Having the same problem. Did you come up with a solution?

AkshayPathak avatar May 27 '16 23:05 AkshayPathak

Nothing yet..

NikiFoD avatar May 28 '16 15:05 NikiFoD

i have the same problem. can any one help ?

masoudslipknot avatar Nov 28 '16 12:11 masoudslipknot

Unfortunately no solution has been found

AkshayPathak avatar Nov 28 '16 18:11 AkshayPathak

tnx for answering fast. if you find it please let me know. tnx

masoudslipknot avatar Nov 29 '16 10:11 masoudslipknot