Modifying the post details layout

This view will show specific post details. Here is a piece of code from activity_post_details.xml:

-----
----
<android.support.v7.widget.RecyclerView
android:id="@+id/displayList_com"
android:layout_width="0dp"
android:layout_height="0dp"
tools:listitem="@layout/post_item"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toBottomOf="@+id/postRoot_pd"
android:layout_marginBottom="8dp" app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginStart="16dp" android:layout_marginEnd="16dp" android:layout_marginTop="8dp"/>

<android.support.constraint.ConstraintLayout
android:layout_width="match_parent"
android:id="@+id/postRoot_pd"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
app:layout_constraintTop_toBottomOf="@+id/appBarLayout_pd" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" android:layout_marginEnd="8dp"
android:layout_marginStart="8dp">
-----
----

Here we have a post's details and its list of comments. 

The preview of this layout is as follows:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.245.233