Modifying post adapter layouts

To utilize the post adapter, we need to create an xml file named post_item.xml, and here we will implement the UI. Here is a piece of the code (the entire code can be found on GitHub):

----
----
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content"
tools:text="@tools:sample/date/ddmmyy"
android:id="@+id/postedDate"
android:textAppearance="?android:textAppearanceSmall"
app:layout_constraintTop_toBottomOf="@+id/profileName"
app:layout_constraintStart_toStartOf="@+id/profileName"
android:layout_marginTop="4dp"
app:layout_constraintBottom_toBottomOf="parent" android:layout_marginBottom="4dp"/>
</android.support.constraint.ConstraintLayout>

<TextView android:layout_width="0dp" android:layout_height="wrap_content"
tools:text="@tools:sample/lorem"
android:id="@+id/postText"
android:padding="4dp"
android:textAppearance="?android:textAppearanceSmall"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" android:layout_marginTop="4dp"
app:layout_constraintTop_toBottomOf="@+id/constraintLayout"/>
----
----

We have four TextView for user full name, username, posted time, and the post text. 

Here is a sample image from the preview option of the layout: