Welcome back.
And this video, I would like to add those two buttons here at the bottom, so the follow user button
as well as the direct message button.
And they're not going to do anything as of now, but I want to have them inside of my application.
So where would they be positioned?
Well, I would say underneath this role here, where you see where the profile starts.
So what do we need?
Actually, just another row.
OK, so we need another rope, but this time with two buttons.
So let's add it to our application.
Therefore, we actually can copy from this rope.
So let's copy all of this stuff here because I want to have the same settings.
I want to make sure that I have a little bit of distance towards the top and at the other sides.
I want the buttons to be spaced evenly so I can just go ahead and copy the settings from this role here.
But now, inside of the curly brackets, I can go ahead and add the buttons that I want to have in there.
So let's go ahead and just add a button.
And you see, this is the default settings that I get here, a button, which is an compose material.
So let's just add this button.
So you see here we have this on click, which is automatically created for us and with curly brackets,
so we could add whatever we wanted in here that should then be executed once we click on the button
and currently not going to do anything.
But you see there is a to do here, which lets us know, hey, there is still something to implement,
but now I want to define the button or modify the button.
So how do I modify the text of a button or add a text to a button?
Well, that's a cool thing and compose.
You can just go ahead and use to text composable once again.
So what should be the text for it?
This one will be follow user and to this case, follow dog, and then I want to have another button
just next to it.
And because we are inside of a row here, they will be next to each other.
They will be arranged evenly spaced.
So what should be the text of the second button that one should say something like direct message?
OK, so let's rerun our application and see how this is going to pan out and we see our follow user
button here, as well as the direct message button.
And they also have this behavior of when we click on them that they create this little effect here.
OK.
And that's already it.
So that was a little introduction to how to add buttons and create another role where the buttons are
next to each other.
And you see, they're spaced evenly as we wanted them to be.
So we have a similar situation like we wanted to have in here.
But now you see that at the current state, our husky is all the way at the top, so we still need to
make a couple of changes.
So we're going to look at cards and vertical scrolls in composable, so see you in the next video.