‫Welcome back.
‫In this video, we'll create the layout for the Recycler View items.
‫Go to Layout New Layout Resource file and I name it as Journal Underscore Row.
‫This will act as a template for every item in our recycler view.
‫Go split mode.
‫And here I need to change the constraint layout into card view.
‫I'll change the height to Wrapcontent.
‫Then I need to add some attributes like the card corner radius equal to ADP.
‫And here I need to use card use compat padding equal to true.
‫Then I'll create a linear layout that contains a text view and image button.
‫This is our Linearlayout one text view for the title and one image button for sharing the journal.
‫Now I need to create another linear layout that contains three text views and one image view.
‫And this is our layout.
‫Of course, you can download this layout directly from the resources folder in our section.