Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/199.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android Groupie RecyclerView扩展父项';布局要包括孩子_Android_Android Recyclerview_Expandablerecyclerview_Groupie - Fatal编程技术网

Android Groupie RecyclerView扩展父项';布局要包括孩子

Android Groupie RecyclerView扩展父项';布局要包括孩子,android,android-recyclerview,expandablerecyclerview,groupie,Android,Android Recyclerview,Expandablerecyclerview,Groupie,我用Groupie制作了一个可扩展的可回收视图,我希望在父视图的相同布局中包含子视图,以利用其卡片视图的边框。但不知道如何实现这一目标 而不是 我想要这个 这是我父母布局的顶部 <androidx.cardview.widget.CardView android:id="@+id/cv_parent" android:layout_width="match_parent" android:layout_height="40dp" @Francisaliny:-实现了吗?嗨,在这篇文章

我用Groupie制作了一个可扩展的可回收视图,我希望在父视图的相同布局中包含子视图,以利用其卡片视图的边框。但不知道如何实现这一目标

而不是

我想要这个

这是我父母布局的顶部

<androidx.cardview.widget.CardView
android:id="@+id/cv_parent"
android:layout_width="match_parent"
android:layout_height="40dp"

@Francisaliny:-实现了吗?嗨,在这篇文章之后,我转到了你的另一个项目,但不记得已经修复了它。我正在尝试与groupie recycleview做类似的事情。我认为它一定有图书馆所缺乏的特点。
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">