MAD Pr5
MAD Pr5
Date: ……………
Practical No.5: Develop an Android application that uses RelativeLayout to arrange UI
components relative to each other.
A. Objective:
To understand the Relative Layout in Android.
B. Expected Program Outcomes (POs)
1. Basic and Discipline specific knowledge: Apply knowledge of basic
mathematics, science and engineering fundamentals and engineering
specialization to solve the engineering problems.
2. Problem analysis: Identify and analyse well-defined engineering problems
using codified standard methods.
3. Design/ development of solutions: Design solutions for engineering well-
defined technical problems and assist with the design of systems components
or processes to meet specified needs.
4. Engineering Tools, Experimentation and Testing: Apply modern
engineering tools and appropriate technique to conduct standard tests and
measurements.
C. Expected Skills to be developed based on competency:
This practical is expected to develop the following skills for the industry-identified
competency: ‘Design a simple application using Relative layout’
D. Expected Course Outcomes(Cos)
CO2: Design Android user interfaces using various layouts, views, and widgets.
E. Practical Outcome(PRo)
Understand the relative layout and design a simple application in android.
G. Prerequisite Theory:
In Android, RelativeLayout is a ViewGroup that allows you to arrange UI
components relative to each other. It offers a flexible and powerful way to position
and align views based on their relationships.
Key Concepts:
Relative positioning: With RelativeLayout, you can define the position of a view
relative to another view using attributes such as "layout_above," "layout_below,"
33 | Page
Mobile Application Development (4351604)
---
I. Resources/Equipment Required
Sr.No. Instrument/Equipment
Specification Quantity
/Components/Trainer kit
1 Computer system 8 GB RAM, intel core-i5 processor and 1
128 GB SSD(recommended).
34 | Page
Mobile Application Development (4351604)
35 | Page
Mobile Application Development (4351604)
3. Describe how you would create a UI layout in RelativeLayout where one view is
centered horizontally and vertically within its parent.
N. References / Suggestions
1. https://developer.android.com
2. https://www.javatpoint.com/android-tutorial
3. https://www.tutorialspoint.com/android/index.htm
36 | Page
Mobile Application Development (4351604)
O. Assessment-Rubrics
37 | Page