made detail fragment use recycler view

This commit is contained in:
Christian Schabesberger 2016-08-03 00:54:03 +02:00
parent 06e2e548be
commit 557bcc40ef
7 changed files with 45 additions and 51 deletions

View file

@ -280,13 +280,13 @@
android:text="@string/similar_videos_btn_text"
android:layout_below="@id/detailNextVidButtonAndContentLayout"
android:textAllCaps="true" />
<LinearLayout
android:id="@+id/similarVideosView"
android:orientation="vertical"
<android.support.v7.widget.RecyclerView
android:id="@+id/similar_streams_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_below="@id/detailSimilarTitle">
</LinearLayout>
</android.support.v7.widget.RecyclerView>
</RelativeLayout>
</RelativeLayout>
</RelativeLayout>

View file

@ -267,13 +267,13 @@
android:text="@string/similar_videos_btn_text"
android:layout_below="@id/detailNextVidButtonAndContentLayout"
android:textAllCaps="true" />
<LinearLayout
<android.support.v7.widget.RecyclerView
android:id="@+id/similar_streams_view"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/similarVideosView"
android:layout_below="@id/detailSimilarTitle">
</LinearLayout>
</android.support.v7.widget.RecyclerView>
</RelativeLayout>
</RelativeLayout>
</RelativeLayout>