hello guys welcome to the next
video tutorial on
Android app development for
beginners and in this video we
will see the basic
all love you off an Android app
so in the last few deal
we have successfully created are
both closed Android
application and move would be
able to run all view
will able to run our first
Android app
on an Android emulator now
for the first time when you see
it a an Android app project
it look like this but what
is what in this in this project
for example disc reen you see
here
is called and activity and a
formal definition of
an activity is an activity is a
single focus
taking that the user can do or
in it simple don't you can see
an activity is a screen
which user interact Mitt and an
Android app can
canteen many activities are in
itself
know where r these activities
toward
so when you go to your project
all love you here you can a/c
3dr
categories one is the project
itself is too broad
project all love you and this is
wat I'll are the files and
folders York
project can contain right saw it
can can be in the
idee fai LCR apk files grade to
the files and
other love violence love each
your
Android Studien needs to come by
them up
second all love you when you go
to bill
project overview is the package
and these are the packages
your up is using I'll when
are you created your ap but the
most important
up while developing get up
Android up
is the Android category itself
and this is vet all your arm
you know programming
believe files are there in
design of this activities
are now this activity
is just told you
but behind this their is an XML
file
so when you go to your ap and
say this app
that is a folder called RDS or
less fold up
and inside this saw rest folder
there are are some folders
legged royal blue
which be in some PNG files and
you are mean activity or
or activity file is this one
which is
activity underscore mean dot XML
file other files are menu files
between you two you will see
later
and the next category is
values category that also we
will see later but right now
don't mean important art design
a XML file is this month so for
the XML file
behind this are up screen
is this mean activity but on
main activity
an XML file so you can click
or you can Alban this XML file
by clicking
this text I'll category him so
this is he or design get the
green
of your activity and many
click here in the text it'll
open
an XML file and this XML file is
the Mina Journal maximal
file which are is responsible
for the design of you are
Android right Android activity
so
what we can do is we can go to
design and
we can now delete
this for now for example this
one to you just looks like this
and delete this
and then what you can do is you
can now
drag-and-drop diese ballot
budgets
in the all our activity so there
are so many are
midgets in him and Lee ellwood's
text fields and other girl
design and build tools
saw you can drag and drop the
stools and design your activity
what example a I can just drag
and drop from this bitch just
the large text here and
in here just double click it and
you can just DAW
right anything for example
programming
knowledge okay
and then this will be displayed
here and
and this and art studio assist
you do you not align your
midgets or tools in your
activity so you will be able to
see this
I'll messaggio right now
months I have done that there is
a text
view I did to all my XML file
and you see I have a written
on this text on my text you with
this program knowledge and this
is automatically added to your
XML file also
right I can add it my I am are
XML file and it can be added to
this you also for example
programming knowledge
are you to you and it will be
added
to y'all are activity here
so you can add this from here
also text
and from here also you can ido
more properties to our yard next
to you for example you can go to
the design
and you can't change Bell
these properties from here also
so there are so many property
for example I want to change the
background color of
law my I'll this next few
so I can just select this and
then go to the properties and
search for the property called
background
it's responsible for the
background color of their
property
and go to the Colo and here I
can choose any color
for my thanks you for example
green color
I will click attach jewels
Michaela and here is the result
of the color so this is
affect 3 triple-a 1c so
when they click OK the color
will change and when I go to
that text
area it is the same background
beloved to
ap F 3 FF F
1c which that was a girl a vigil
we have chosen right the other
thing is I'll
you can even chain the color of
your
back on call all properties of
PR mean
activity screen the justice one
or leopold
you can just go to the
background and just choose the
column
and choose any other color for
example this
blue Colo okie I jean-juste to
the blue chalam
okay gnome this is just the
design part
of your Android app but don't
mean
brain or do you can see me in
the you know actions
are taken in dub for decor Jolla
and in here that is are are
Java class a dollop by a call me
an activity just
open this and this is the class
which is a responsible for
although
mean actions saw of your app
so lemme for example you go to
your mean activity
and you outta some button here
and you click this button
on the board up for it clicking
this button and whatever
action
I'll will take while clicking
this button
will be written here on so this
is just our Java class
which extends ought inherits
dial
action body activity class so
this is our
class r-mich hundreds to do you
have created for us
and it extends so
if you don't have a much
experience in Java programming
I will recommend you can see my
Java programming tutorial and
you will
be able to understand what this
extend means
but arm simply this sup nes
inheriting fall from
this class and in hand there are
some more
already in pre created mentored
magenta red studio or have
created for us
for the first time so that are
well up
can launch okay and death
these cords we will see in under
for the videos
what is the meaning of all the
scored in
behind so that the we will
understand
I'll more about on what they are
doing
okay but this is the mean I'm
you know
are mean logic of your Android
app
I'll bear you will are right the
logic of your Android app
okay so diese this is the basic
overview of
and Android app on there is one
more
interesting folder in this app
called manifest
okay sought this is the 4.0
min called manifest and this are
contains
the file called Android manifest
dot XML and this contains
all the activity are of
activities
all Yarra Android app so for
example I'll
Android app right now contains
only one activity which is
this one and sold effectivity
is you know I'll here
but your Android app can contain
now
more than one activity then
there can be
something like one activity
below the second activity
below the start activity in so
on right
so here is the are are
Mina launch are you can see
of you are ap so
for the first time in ever you a
launch you are
application how Miller you are
Android app the norse that bitch
activity should
a PO if the you are a android
apk and contain many activities
and be checked in ready to
launch first this is decided by
and this
XML file for example are this
activity
this ap only have a one activity
and this is
the basic are logic which
cartels your out that this is
all a mean
activity and we need to launch
this activity whenever we launch
our
ap so all the activity are
mapping
will be here in this boredom and
other although all properties of
PR up
will be here also for example ya
packages
up packages in formation are
other important information
are related to you are you know
up
will be here so you're up name
and styles and under things ride
so
here all the activity are you
know listing will be here
so this is the basic overview of
your Android app
I hope you have enjoyed this
video please rate comment
subscribe on