Manifest.Xml File in android studio | Learning about Manifest Settings File in android | Kotlin

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello guys welcome to my channel today in this video we will learn about the setting manifest file in android studio cortland so let's start so i have created this project in which i have this activityman.xml file and this main activity.kt file if i expand this app folder you will see a manifest folder here a java folder here and a resources folder here and this is the gradle script now we will discuss this manifest which is actually the setting file of our android project now if i expand this folder now you can see an androidmanifest.xml file inside this now if i open this you will see different tags inside this now let's start with this line every xml file start with this line xml version and encoding now the manifest file start from here so it takes this first manifest take and then inside this it take the package name which is this one and then the application uh take starts here from here and now allow backup true now this is the icon of the app now when you set this icon now it is uh set to default ic launcher if i show you this uh it is in the mipmap folder so i'll come here and this one so it is currently set to this icon of the app and you can change it here you can put it here and then you can change it here and manifest file now this is the label so this is the project name or the app name you can change the app name here now if i click on this it will come from strings so string or in this values folder now if i come to this now you can see custom button is the name of the project on the name of the app so if i come to this manifest file so here you can see that string app name is given here now if you want to show around icon so then you can use this uh round icon here and all these take if you want to show in a custom theme you can use a custom theme here and then start the activity now the activity tag as you can you know that an android app is consist of activities as we have this main activity here and this this is its design file or is xml file now if i come here and show you now we have this main activity here and this intent pulled filter show that it is the um man activity which means that on when we run this project first this activity will be launched now if i add another activity here if i come here to this java and right click on this and new and go to this new activity and i enter this empty activity and if i name this second activity and if i click finish now if i go to this [Music] android manifest file now you will see that the second activity is added into this uh manifest file but you can see that we do not have this intent filter tag in this activity the second activity it is because this is the first launch activity when you run your app this main activity will be launched now if i want to make this activity as my launch activity so i'll remove this and i will add in a closing tag here now the activity ad is take is added and now i'll copy this intent filter or control exit from here control x and now i'll paste it here so now the second activity become my launch activity i will make this true and now everything is working fine now if i come to this uh second activity and if i drag in a text on this and now if i pin it from the top and from the sides and now if i change the quota code and change its text to uh this is second activity and now if i change the text size as well so that it is a visible so i'll make this 22 sp and now if i run this now you will see that at the run time the second activity will be shown fast because we have added the intent filter to the second activity so the grid is completed so if i click on this terminate and now if i go here again to this now it will launch the application it is launching the activity and now you can see that this second activity is launched past because we have added the intent filter to this second activity so by adding this intent filter to an activity tag i can make that activity my launch activity so i think that's all for today i hope you like this video if you like this video please like subscribe and comment thank you
Info
Channel: Programming Guru
Views: 76
Rating: undefined out of 5
Keywords: Programming Guru, Guru Programming, programming, gurru, programminggurru, manifest file in android studio, manifest file in android tutorial point, manifest file in android in hindi, manifest in android, what is android manifest file, androidmanifest.xml file, android app manifest file, Manifest File in android, Manifest settings File in android studio, Kotlin tutorial for beginners
Id: 0DtpTwnbmvE
Channel Id: undefined
Length: 7min 25sec (445 seconds)
Published: Mon Dec 06 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.