‫In this video, we're going to create the layout for the new node fragment.
‫So open new node fragment, go to split mode.
‫And in the same way, I will remove this text view and change it to constraintlayout.
‫And here I will start adding the widgets.
‫The widgets are one quarter view that includes two edit text.
‫So we will start creating the card view here.
‫Guard view.
‫The width is zero dpi.
‫The height would be also zero dpi.
‫I will name it as.
‫This is the ID card view too, and I will paste the other attributes.
‫Here we go.
‫Alt+.
‫Enter to import the namespace for this.
‫Widget.
‫Okay.
‫You can pause the video and and write them down or you can get them from the resources folder below.
‫This card review will contain a linear layout.
‫Linear layout, the width would be matchparent.
‫The height would be wrapcontent.
‫The.
‫I'd.
‫I will not give him I will not add ID.
‫We'll add a padding equal to 16 DPI.
‫The width would be matchparent and the height would be matchparent also.
‫Okay.
‫And orientation of course would be vertical.
‫This is our linear layout.
‫I will add inside this linear layout two text views.
‫Or sorry to edit texts.
‫The first one with the edit, note it no title ID and these are the attributes.
‫And the second one here.
‫Well contain the ID attribute at Node body and the EMS.
‫Then gravity start, stop and hint type something.
‫Here the color hint.
‫I will add another color.
‫For example this color copy.
‫And you can paste it directly here or you can extract the color resource.
‫Value.
‫And I will paste it here.
‫It's called hint color.
‫Okay.
‫So you can see it inside the colors as we've done before.
‫This is our hint color.
‫Or you can write color here, hint color, and you give it a value.
‫This is our card view, so I will close the tag for the linear layout like this and I will close the
‫tag for the card view so you can see the card view appears here.
‫This is our layout for new note fragment.