SlideShare a Scribd company logo
This work is licensed under the Apache 2.0 License
Welcome to Compose
Camp
This work is licensed under the Apache 2.0 License
What is Compose Camp?
Community-organized events focused around
how to build Android apps using Jetpack
Compose, where attendees get hands-on
coding experience with Compose.
QnA Session
Home
Jetpack Compose
Creating UIs
Intro to Kotlin
Android Studio
TOPIC Duration
Intro to Layouts 5 min
Types of different Layouts 15 min
Material Themes 5 min
Hands On Experience of creating UIs 30 min
Q&A Session 10 min
Today’s Schedule
This work is licensed under the Apache 2.0 License
Layouts in Compose
This work is licensed under the Apache 2.0 License
Jetpack Compose provides a declarative way of building
the UI of the Android app. Layouts are an essential
component for creating UI, and Jetpack Compose already
supports a few of them.
This article will explore available layouts in Jetpack
Compose combined with modifiers, alignments, and
arrangements that help to build the UI of Android apps.
Introduction to
Layouts
This work is licensed under the Apache 2.0 License
I would like to start with Alignment and Arrangement that help us with UI elements’
arrangements.
There are nine alignment options that can be applied to child UI elements:
Alignments
This work is licensed under the Apache 2.0 License
Arrangement is used to specify the arrangement of child elements in "Column" and
"Row" layouts in the axis direction (horizontal and vertical).
We have a set of predefined values for horizontal and vertical arrangements.
Let's take a look at a visual representation of basic arrangements like "Start", "End",
"Center", "Top", and "Bottom".
Arrangements
This work is licensed under the Apache 2.0 License
Modifiers
The modifier is an ordered, immutable collection of modifier elements that
decorate or add behavior to Compose UI elements. For example, backgrounds,
padding, and click event listeners decorate or add behavior to rows, text, or
buttons.
We can explicitly set the height, width, and size to the UI element using one of the following
modifiers: Ex:
● height(height: Dp)sets the UI element’s height to a preferred value.
● width(width: Dp)sets the UI element’s width to a preferred value.
● size(size: Dp)sets the height and width of an element to a similar size value.
● size(width: Dp, height: Dp)sets the height and width of an element.
We can combine multiple modifiers: modifierA().modifierB()
.
Building the UI of a modern mobile application, we need to combine multiple UI
elements, and multiple available layouts help us with that.
Jetpack Compose supports the following layouts:
● Box
● Column
● Row
Types Of Layouts
This work is licensed under the Apache 2.0 License
The "Box" layout stacks every child on top of each other. By default, the children will
be placed at the Alignment.TopStart position.
Ex: Overlapping two texts, where
Text1: “Very important text”
Text2: “Lorem ipsum dolor sit amet, consectetur adipiscing elit”
The "Box" layout
This work is licensed under the Apache 2.0 License
The "Column" layout stacks children in a vertical sequence. Comparing this with
available layouts in Android development, the closest one is a LinearLayout with
vertical orientation. All child items will be arranged vertically at Top and aligned
horizontally at Start, by default.
Ex: Image and a Text
The "Column" layout
This work is licensed under the Apache 2.0 License
The "Row" layout stacks children in a horizontal sequence. Comparing it with
available layouts in Android development, the closest one is a LinearLayout with a
horizontal orientation. All child items will be aligned vertically at Top and arranged
horizontally at Start, by default.
Ex: Image and a Text
The "Row" layout
This work is licensed under the Apache 2.0 License
Let's combine "Column" and "Row"
layouts in one example.
Ex: Row: parent
{
Column1 : child1
Column2 : child2
}
Combining Row and
Column Layouts
This work is licensed under the Apache 2.0 License
Material Theme and
Design
This work is licensed under the Apache 2.0 License
Introduction
Material is a design system created by Google to help teams build
high-quality digital experiences for Android, iOS, Flutter, and the web.
Material is the metaphor
Material Design is inspired by the physical world and its textures,
including how they reflect light and cast shadows. Material surfaces
reimagine the mediums of paper and ink.
It has two subdivisions:
● Components
● Theming
This work is licensed under the Apache 2.0 License
Components
Material Components are interactive building blocks for creating a user
interface, and include a built-in states system to communicate focus,
selection, activation, error, hover, press, drag, and disabled states.
Components cover a range of interface needs, including:
● Display: Placing and organizing content using components like cards, lists,
and sheets.
● Navigation: Allowing users to move through the product using components
like navigation drawers and tabs.
● Actions: Allowing users to perform tasks using components such as the
floating action button.
● Input: Allowing users to enter information or make selections using
components like text fields, chips, and selection controls.
● Communication: Alerting users to key information and messages using
components such as snackbars, banners, and dialogs.
This work is licensed under the Apache 2.0 License
Theming
Material Theming makes it easy to customize Material Design to match the look and
feel of your brand, with built-in support and guidance for customizing colors,
typography styles, and corner shapes
Color
Material’s color system is an
organized approach to applying
color to a UI. Global color styles
have semantic names and
defined usage in components –
primary, secondary (brand
colors), surface, background,
and error.
Typography
The Material Design type scale
provides 13 typography styles
for everything from headlines to
body text and captions. Each
style has a clear meaning and
intended application within an
interface.
Shape
All Material Components are
grouped into shape categories
based on their size (small,
medium, large). These global
styles provide a way to quickly
change the shape of
similarly-sized components.
This work is licensed under the Apache 2.0 License
This work is licensed under the Apache 2.0 License
THANK YOU
More sessions coming soon!
Created by:
Saatvik Sethi
(App. Development Lead )
Google DSC IIITKOTA

More Related Content

Similar to Diving deep in compose.pdf

Android Study Jam 2
Android Study Jam 2Android Study Jam 2
Android Study Jam 2DSC GVP
 
Oracle User Productiviy Kit
Oracle User Productiviy KitOracle User Productiviy Kit
Oracle User Productiviy KitLarry Sherrod
 
AppBar Class In Flutter.pptx
AppBar Class In Flutter.pptxAppBar Class In Flutter.pptx
AppBar Class In Flutter.pptxBOSC Tech Labs
 
Using Python inside Programming Without Coding Technology (PWCT) Environment
Using Python inside Programming Without Coding Technology (PWCT) EnvironmentUsing Python inside Programming Without Coding Technology (PWCT) Environment
Using Python inside Programming Without Coding Technology (PWCT) EnvironmentMahmoud Samir Fayed
 
FlutterArchitecture FlutterArchitecture.ppt
FlutterArchitecture FlutterArchitecture.pptFlutterArchitecture FlutterArchitecture.ppt
FlutterArchitecture FlutterArchitecture.pptKevinNemo
 
Day 3 Compose Camp Material Design.pptx
Day 3 Compose Camp Material Design.pptxDay 3 Compose Camp Material Design.pptx
Day 3 Compose Camp Material Design.pptxShayantaniKar
 
Top angular component libraries to use in 2020 (build amazing web solution fa...
Top angular component libraries to use in 2020 (build amazing web solution fa...Top angular component libraries to use in 2020 (build amazing web solution fa...
Top angular component libraries to use in 2020 (build amazing web solution fa...Katy Slemon
 
Design stunning user experience with expression blend
Design stunning user experience with expression blendDesign stunning user experience with expression blend
Design stunning user experience with expression blendKosala Nuwan Perera
 
Programming Without Coding Technology (PWCT) Features - Framework & Extension
Programming Without Coding Technology (PWCT) Features - Framework & ExtensionProgramming Without Coding Technology (PWCT) Features - Framework & Extension
Programming Without Coding Technology (PWCT) Features - Framework & ExtensionMahmoud Samir Fayed
 

Similar to Diving deep in compose.pdf (20)

ArduinoWorkshop2.pdf
ArduinoWorkshop2.pdfArduinoWorkshop2.pdf
ArduinoWorkshop2.pdf
 
Android Deep Dive
Android Deep DiveAndroid Deep Dive
Android Deep Dive
 
Android Study Jam 2
Android Study Jam 2Android Study Jam 2
Android Study Jam 2
 
Oracle User Productiviy Kit
Oracle User Productiviy KitOracle User Productiviy Kit
Oracle User Productiviy Kit
 
AppBar Class In Flutter.pptx
AppBar Class In Flutter.pptxAppBar Class In Flutter.pptx
AppBar Class In Flutter.pptx
 
Using Python inside Programming Without Coding Technology (PWCT) Environment
Using Python inside Programming Without Coding Technology (PWCT) EnvironmentUsing Python inside Programming Without Coding Technology (PWCT) Environment
Using Python inside Programming Without Coding Technology (PWCT) Environment
 
Android Material Design
Android Material DesignAndroid Material Design
Android Material Design
 
What is swing
What is swingWhat is swing
What is swing
 
FlutterArchitecture FlutterArchitecture.ppt
FlutterArchitecture FlutterArchitecture.pptFlutterArchitecture FlutterArchitecture.ppt
FlutterArchitecture FlutterArchitecture.ppt
 
Day 3 Compose Camp Material Design.pptx
Day 3 Compose Camp Material Design.pptxDay 3 Compose Camp Material Design.pptx
Day 3 Compose Camp Material Design.pptx
 
Adobe XD
Adobe XD Adobe XD
Adobe XD
 
Top angular component libraries to use in 2020 (build amazing web solution fa...
Top angular component libraries to use in 2020 (build amazing web solution fa...Top angular component libraries to use in 2020 (build amazing web solution fa...
Top angular component libraries to use in 2020 (build amazing web solution fa...
 
Compose Camp Day 2.pptx
Compose Camp Day 2.pptxCompose Camp Day 2.pptx
Compose Camp Day 2.pptx
 
Neha
NehaNeha
Neha
 
Introduction to flutter
Introduction to flutter Introduction to flutter
Introduction to flutter
 
Design stunning user experience with expression blend
Design stunning user experience with expression blendDesign stunning user experience with expression blend
Design stunning user experience with expression blend
 
Create New Android Layout
Create New Android LayoutCreate New Android Layout
Create New Android Layout
 
Shiny in R
Shiny in RShiny in R
Shiny in R
 
Automatic documentation with mule
Automatic documentation with mule Automatic documentation with mule
Automatic documentation with mule
 
Programming Without Coding Technology (PWCT) Features - Framework & Extension
Programming Without Coding Technology (PWCT) Features - Framework & ExtensionProgramming Without Coding Technology (PWCT) Features - Framework & Extension
Programming Without Coding Technology (PWCT) Features - Framework & Extension
 

Recently uploaded

Morse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxMorse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxjmorse8
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPCeline George
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfbu07226
 
How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17Celine George
 
The impact of social media on mental health and well-being has been a topic o...
The impact of social media on mental health and well-being has been a topic o...The impact of social media on mental health and well-being has been a topic o...
The impact of social media on mental health and well-being has been a topic o...sanghavirahi2
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxbennyroshan06
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online PresentationGDSCYCCE
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptxmansk2
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...Sayali Powar
 
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdfTelling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdfTechSoup
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxShibin Azad
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxEduSkills OECD
 
Keeping Your Information Safe with Centralized Security Services
Keeping Your Information Safe with Centralized Security ServicesKeeping Your Information Safe with Centralized Security Services
Keeping Your Information Safe with Centralized Security ServicesTechSoup
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaasiemaillard
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXMIRIAMSALINAS13
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePedroFerreira53928
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportAvinash Rai
 
size separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticssize separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticspragatimahajan3
 

Recently uploaded (20)

Morse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxMorse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptx
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17How to the fix Attribute Error in odoo 17
How to the fix Attribute Error in odoo 17
 
The impact of social media on mental health and well-being has been a topic o...
The impact of social media on mental health and well-being has been a topic o...The impact of social media on mental health and well-being has been a topic o...
The impact of social media on mental health and well-being has been a topic o...
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
Mattingly "AI & Prompt Design: Limitations and Solutions with LLMs"
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdfTelling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
Telling Your Story_ Simple Steps to Build Your Nonprofit's Brand Webinar.pdf
 
Gyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptxGyanartha SciBizTech Quiz slideshare.pptx
Gyanartha SciBizTech Quiz slideshare.pptx
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
Keeping Your Information Safe with Centralized Security Services
Keeping Your Information Safe with Centralized Security ServicesKeeping Your Information Safe with Centralized Security Services
Keeping Your Information Safe with Centralized Security Services
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
 
size separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceuticssize separation d pharm 1st year pharmaceutics
size separation d pharm 1st year pharmaceutics
 

Diving deep in compose.pdf

  • 1. This work is licensed under the Apache 2.0 License Welcome to Compose Camp
  • 2. This work is licensed under the Apache 2.0 License What is Compose Camp? Community-organized events focused around how to build Android apps using Jetpack Compose, where attendees get hands-on coding experience with Compose.
  • 3. QnA Session Home Jetpack Compose Creating UIs Intro to Kotlin Android Studio
  • 4. TOPIC Duration Intro to Layouts 5 min Types of different Layouts 15 min Material Themes 5 min Hands On Experience of creating UIs 30 min Q&A Session 10 min Today’s Schedule
  • 5. This work is licensed under the Apache 2.0 License Layouts in Compose
  • 6. This work is licensed under the Apache 2.0 License Jetpack Compose provides a declarative way of building the UI of the Android app. Layouts are an essential component for creating UI, and Jetpack Compose already supports a few of them. This article will explore available layouts in Jetpack Compose combined with modifiers, alignments, and arrangements that help to build the UI of Android apps. Introduction to Layouts
  • 7. This work is licensed under the Apache 2.0 License I would like to start with Alignment and Arrangement that help us with UI elements’ arrangements. There are nine alignment options that can be applied to child UI elements: Alignments
  • 8. This work is licensed under the Apache 2.0 License Arrangement is used to specify the arrangement of child elements in "Column" and "Row" layouts in the axis direction (horizontal and vertical). We have a set of predefined values for horizontal and vertical arrangements. Let's take a look at a visual representation of basic arrangements like "Start", "End", "Center", "Top", and "Bottom". Arrangements
  • 9. This work is licensed under the Apache 2.0 License Modifiers The modifier is an ordered, immutable collection of modifier elements that decorate or add behavior to Compose UI elements. For example, backgrounds, padding, and click event listeners decorate or add behavior to rows, text, or buttons. We can explicitly set the height, width, and size to the UI element using one of the following modifiers: Ex: ● height(height: Dp)sets the UI element’s height to a preferred value. ● width(width: Dp)sets the UI element’s width to a preferred value. ● size(size: Dp)sets the height and width of an element to a similar size value. ● size(width: Dp, height: Dp)sets the height and width of an element. We can combine multiple modifiers: modifierA().modifierB() .
  • 10. Building the UI of a modern mobile application, we need to combine multiple UI elements, and multiple available layouts help us with that. Jetpack Compose supports the following layouts: ● Box ● Column ● Row Types Of Layouts
  • 11. This work is licensed under the Apache 2.0 License The "Box" layout stacks every child on top of each other. By default, the children will be placed at the Alignment.TopStart position. Ex: Overlapping two texts, where Text1: “Very important text” Text2: “Lorem ipsum dolor sit amet, consectetur adipiscing elit” The "Box" layout
  • 12. This work is licensed under the Apache 2.0 License The "Column" layout stacks children in a vertical sequence. Comparing this with available layouts in Android development, the closest one is a LinearLayout with vertical orientation. All child items will be arranged vertically at Top and aligned horizontally at Start, by default. Ex: Image and a Text The "Column" layout
  • 13. This work is licensed under the Apache 2.0 License The "Row" layout stacks children in a horizontal sequence. Comparing it with available layouts in Android development, the closest one is a LinearLayout with a horizontal orientation. All child items will be aligned vertically at Top and arranged horizontally at Start, by default. Ex: Image and a Text The "Row" layout
  • 14. This work is licensed under the Apache 2.0 License Let's combine "Column" and "Row" layouts in one example. Ex: Row: parent { Column1 : child1 Column2 : child2 } Combining Row and Column Layouts
  • 15. This work is licensed under the Apache 2.0 License Material Theme and Design
  • 16. This work is licensed under the Apache 2.0 License Introduction Material is a design system created by Google to help teams build high-quality digital experiences for Android, iOS, Flutter, and the web. Material is the metaphor Material Design is inspired by the physical world and its textures, including how they reflect light and cast shadows. Material surfaces reimagine the mediums of paper and ink. It has two subdivisions: ● Components ● Theming
  • 17. This work is licensed under the Apache 2.0 License Components Material Components are interactive building blocks for creating a user interface, and include a built-in states system to communicate focus, selection, activation, error, hover, press, drag, and disabled states. Components cover a range of interface needs, including: ● Display: Placing and organizing content using components like cards, lists, and sheets. ● Navigation: Allowing users to move through the product using components like navigation drawers and tabs. ● Actions: Allowing users to perform tasks using components such as the floating action button. ● Input: Allowing users to enter information or make selections using components like text fields, chips, and selection controls. ● Communication: Alerting users to key information and messages using components such as snackbars, banners, and dialogs.
  • 18. This work is licensed under the Apache 2.0 License Theming Material Theming makes it easy to customize Material Design to match the look and feel of your brand, with built-in support and guidance for customizing colors, typography styles, and corner shapes Color Material’s color system is an organized approach to applying color to a UI. Global color styles have semantic names and defined usage in components – primary, secondary (brand colors), surface, background, and error. Typography The Material Design type scale provides 13 typography styles for everything from headlines to body text and captions. Each style has a clear meaning and intended application within an interface. Shape All Material Components are grouped into shape categories based on their size (small, medium, large). These global styles provide a way to quickly change the shape of similarly-sized components.
  • 19. This work is licensed under the Apache 2.0 License
  • 20. This work is licensed under the Apache 2.0 License THANK YOU More sessions coming soon! Created by: Saatvik Sethi (App. Development Lead ) Google DSC IIITKOTA