‫In this video, we're going to create the third layout for the third fragment, the update note fragment.
‫So open update.
‫Note fragment.
‫Go to split mode.
‫And in the same way I will remove this text view, change this layout to constraint layout and start
‫adding the widgets here.
‫As I told you, the source code is available in the resources folder below.
‫So.
‫You can pause the video.
‫You can write the codes directly.
‫Matchparent.
‫I will create a linear layout.
‫Matchparent.
‫And the orientation would be vertical.
‫Inside this linear layout, I will create a card view.
‫So this is a card view.
‫Match Parent.
‫The margin.
‫Margin would be 16 DPI.
‫The background would be white and the card corner radius equal to five DPI and the card elevation would
‫be eight DPI.
‫Inside this card review, we need to create another linear layout that contains to edit text.
‫So I will create linear layout, linear oops linear layout.
‫The width would be matchparent height would be matchparent orientation would be vertical and padding
‫would be 16 deep.
‫Now I will pause the video and paste the edit text.
‫This is the first text.
‫I will name it.
‫We'll give it an ID at node title update and the second edit text.
‫Will be.
‫Having an ID node buddy update okay, you can see these are the two edit texts that I have inside this
‫card view.
‫Outside the Cardiff view and outside this linear layout, I will create a new.
‫Lay a widget called Floating Action Bar.
‫This is the floating action bar.
‫And I will paste the.
‫Attributes.
‫Here we go.
‫This is our floating action bar.
‫It's called fab Underscore Dom.
‫I will create a drawable.
‫I see.
‫Done.
‫So go to the drawable click new Vector asset.
‫Select the clip art.
‫Search for done.
‫This is the done sign.
‫Click.
‫Okay.
‫I will change its name.
‫Done.
‫Next.
‫Finish.
‫And we've talked about these drawables and these vector assets in the drawable lesson.
‫At the beginning of this course.
‫And that description would be like this.
‫Okay.
‫So you can see the floating action bar here.
‫This is our layout, the fragment update.
‫Note layout.