1. Linear layout is a simple layout used in android for layout designing.
2. There are two types of linear layout orientation:
a. Vertical
b. Horizontal
3. Main Attributes In Linear Layout?
a. orientation: The orientation attribute used to set the childs/views horizontally or
vertically. gravity: The
b. gravity attribute is an optional attribute which is used to control the alignment of the
layout like left, right, center, top, bottom etc.
c. layout_weight: The layout weight attribute specify each child control’s relative
importance within the parent linear layout.
d. weight Sum: weightSum is the sum up of all the child attributes weight. This attribute is
required if we define weight property of the Childs.
4. ImageView class is used to display any kind of image resource
5. Step by Step Implementation
a. Create a New Project in Android Studio
b. Working with the activity_main.xml file
c. Working with the MainActivity file
6. Firebase Introduction
a. Read
b. Discuss
c. Courses
7. Pros and Cons of Using Firebase:
a. Pros
• Free plans for beginners.
• Real-time database is available.
• Growing Community.
• Numerous services are available.
b. Cons:
• It uses NoSQL so, people migrating from SQL might feel difficulty
• It is still growing so, it is not tested to an extent.
8. Companies using Firebase
• The New York Times
• Alibaba.com
• Gameloft
• Duolingo
• Lyft
9. XML stands for Extensible Markup Language used to describe data.
10.. Layout XML Files: Layout xml files are used to define the actual UI(User interface) of our
application
11.. Manifest xml File(Mainfest.xml): This xml is used to define all the components of our application
12. Strings xml File(strings.xml): This xml file is used to replace the Hard-coded strings with a
single string
13.Styles xml File(styles.xml): This xml is used to define different styles and looks for the UI(User
Interface) of application
14.Drawable xml Files: These are those xml files that are used to provide various graphics to the
elements or views of application.
15.. Color xml File (colors.xml): This file is used to define the color codes that we used in our app.
16.Dimension xml File(dimens.xml): This xml file is used to define the dimensions of the View’s.
17. id: id is an attribute used to uniquely identify a text EditText.
18.text: text attribute is used to set the text in a EditText.
19.. hint: hint is an attribute used to set the hint
20.Text Color: text Color attribute is used to set the text color of a text edit text
21.Text Size: text Size attribute is used to set the size of text of a edit text.
22. Text Style: text Style attribute is used to set the text style of a edit text
23.background: background attribute is used to set the background of a edit text.
24.padding: padding attribute is used to set the padding from left, right, top or bottom.
END