Hey there.
Well let's begin to develop our application Sport Club Olympus.
I created a new project in Underwood's to call it Olympus club and in the project we will create an
application with which we can add members to the club indicating their name surname gender and the support
group to which they will go.
All data will be stored in the database a scroll lot.
Well let's start great markup in activity to me.
Well let me change the constraint layout to relative layout
and also remove the text to you by default.
And in this activity I just now only said the bottom.
If we go to the desired type here floor action model there is solid bottom.
This a widget appears and we can drag it mud before we install it.
We need to add an icon for these bottom.
And for these we can do the following.
As you remember we can go to the arrays folder and write leaked in the drawer but folder and create
a new vector US asset and then set the icon for example in the social group.
Let's see this plus add a little net person add I can add a person and let's be a kid and let's pick
a color
or let me write down what
clicked Next and finish and now we can add these Martin already and select the icon in the project.
And we also need to add a dependency to our Bill Bradley file because we need a library that supports
its bottom flooring action button
so this button has a bit of its in larger than you and on the bottom an icon appeared and a shadow appeared
above it.
It seems to have it all on the screen so it's called flawed which means hope hovering come forward.
And with the bottom we will add a person to our cloud.
Let's go to the next note and let's do 4 2 margin and on margin bottom so that the button is equally
or more equally distance from the right side and law and now in our main activity we can lean golf float
and action button to do this lets us sign the.
Aha.
Here over there has the idea for it an action button.
We will have one so let this idea remain.
And here we are right flawed in action.
Bottom
Well let's call it what an action buttons also and assign one view by D R I d for the action button
and then we will set the click listener for this button loading action button set on click listen.
And here.
Right.
New View on.
Click Listen.
Here we need to override the on click method and a need.
We will start the activity in which we will add our new user more precisely a new member of the club
to do this.
First create a new activity in the same bag each US main activity
new activity and objective.
Well let's call it for example add member activity
click finish
saw that activity has created and
now we can go to this activity when clicking on floor an action button.
That is we create creating and new here
we are right at the beginning.
Main activity from which we will go these and then add Mambo activity to gloss
and of course start activity and pass intent to it.
In fact that so let's run the application and see if everything works correctly
so let's try to click
and or we move into the second activity.
And so we implement the first activity our activity and transition move into the second activity and
next we do we will begin to create the allowed functionality over the second activity at member activity.