Hey there.
So let's get started creating their mark up for that cool timer app to do this.
First let's put the image in the drawer BILL FOLDER.
My image is on the desktop.
I copied
and paste it into the drawer but folder and now it appears.
Next I go to the file activity main in the design mode and we will start
from these Sig bar that we need to set on top.
It's type Sig bar in this search.
And here we can drag this switch it
out right away.
We cannot.
Constraints.
Well let's uh do a DP here on the right and left
and let it be 16 they be on top then make they're with match constraints so that they Sig bar is stretched
to the full width of our constraints allowed and then we need an image you
and in the project we select all image you Belle
it's centered horizontally here we add margin
allowed with we'll make match constraints
let's also have a DP from above.
Let's get a look.
Next we need took place that takes you
place it somewhere here and immediately button
and so forth text to you we will also create constraints.
Let's see TextView constraint.
Top to bottom or sig bar
huh.
I already created all these widgets so my I.D. names with to let me remove these tools because we have
one widget we do not need to use and then we need uh uh.
Next we need top to bottom sic bar and here start to start off constraint.
We will create here and here we specify sent horizontally in parent and here margin 8 and 8
and let's change the text size for example to 50 SB
words right away.
Change the default text specify zero zero and scroll on and 60
and button
where need needs also set constraints.
Void lets see what is installed here.
Start to end.
Again we need start to start
and here we also set 8.
And let it be 8 on top.
2
something like this.
Next we need to set background for castrate loud
background and specify specify attribute and the value.
Call our primary and replace replace the color or the text and the color or the button itself and also
the text itself will be changed to start then text color and draw it.
Color white and background.
We will specify color primary so
it seems that everything worked out for us.
Let's try to run
soul It's all right.
Only the color or the text should been specified.
Black water tap text and in the text you will specify color black
let's restart
so it all turned out nothing complicated.
And then we need to implement the behavior of our application.