ExpandableLayout
ExpandableLayout copied to clipboard
Horizontal RecyclerView inside ExpandableLayout
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>
Having the same problem. Did you come up with a solution?
Nothing yet..
i have the same problem. can any one help ?
Unfortunately no solution has been found
tnx for answering fast. if you find it please let me know. tnx