SlideShare a Scribd company logo
1 of 27
Vmoksha Technologies
Commit-Deliver-Excel
MATERIAL DESIGN FOR ANDROID
CONTENTS
Introduction
Goals for Material Design
Principles of Material Design
Themes
Cards and Lists
Floating Action Button
Collapsing Toolbar layout
Conclusions
Introduction
In 2014, Google developed a new visual design language called Material Design for Android Lollipop and higher
versions. The visual specifics in material design are amusing, and the material objects have x, y and z dimensions,
which allows you to create an incredible 3D world. Material design is not about how to use dazzling colors, best
images, and the elevation of the object; it is about how we create the amazing experience to users with the
positive brand reality.
Google has proposed some rules and regulations while adding the material design to application to improvise its
standards. Instead of using a palette selection tool that pulls colors to the content of an app, using of material
design makes the Android application’s graphic layout more simplified and standard format.
To be noted, the material design is not only being used for rectangular or tablet screen; it should also be used for
circular watch screen, etc. So if we create a grid, then it precepts all the spacing and should match to all the types
of screens, which is a must for apps that are identified everywhere.
Overall to say, material design is straightforward, clear and brilliant. Because of these dazzling features, it has
become an imperative for a broad number of gadgets than any other UI in history.
Goals of Material Design
•To design the application UI like a magical paper. Let’s say, something that appears like real, appreciable
objects.
•Animations have been pulled to make the experience more lively by safeguarding the maximum amount of
content is always visible.
•With Material Design, Google also determined to robotize the experience for users.
•Mobile rules are fundamental but touch, voice, mouse, and keyboard are all excellent input methods.
The materials take energy from the users, from their fingers, from their mouse click, their touch and use it to
transform and animate.
In material design, software elements are treated as real things.
For example, take paper and ink. Every pixel drawn in an application is similar to a dot of ink on a piece of paper.
Assume that paper is plain and doesn’t have any color whereas the ink can be of any color. So the content color
of a paper depends on the color of the ink. Likewise in Android application, it can be a
 Menu,
 Button or
 Image.
And also the paper can be of any size. It might fill the whole screen, or it might even shrink to small square or
round shape.
So the ink will not have any restrictions. It will be throughout the paper. It just has to fit inside the paper to be
visible. The papers can change its shape, split, move, join and re-size.
Likewise, every application made in material design will have all these characteristics.
Principles of Material Design
1. Material is a metaphor
A material metaphor is a bring together theory of a rationalized space and a system of motion. A metaphor
is a figure of speech that specifies flashy effect to one thing by observing another thing. It is open to
imagination and magic.
2. Surfaces are spontaneous and natural
Surfaces and edges provide visual hints that are familiarized in our knowledge of reality. The use of ordinary
material attributes conveys to a primal part of our brain and advice us to quickly understand its need.
3. Dimensionality supports interaction
The basics of light, surface, and movement are keys to
transfer how objects cooperate.
Sensible lighting shows bond, divides space,
and demonstrate moving parts.
4. One flexible design
A single underlying design system establishes interactions and space. Each device follows a different view of the
same fundamental system. Each view is made custom-fit to the size and interaction appropriate for that device.
Colors, iconography, hierarchy, and spatial relationships stand constantly.
5. Content is bold, graphic, and wilful
Bold content provides grouping, meaning, and focus. Cautious color choices, edge-to-edge imagery, and
intentional white space create captivation and clarity.
6. Color, surface, and iconography highlights actions
User action is all about the significance of experience design. Color in material design is inspired by bold
complexion, deep shadows, and brilliant highlights. The whole design is reconstructed by the change of points in
the immediate actions.
7. Users introduce alteration/change
Alterations in the UI extract their energy from user actions. Motion that forces from touch respects and
emphasizes the user as the best mover. It means that the widgets or material takes the energy from users’ fingers
during the mouse click or on touch and that energy is used to animate to show it as reality.
8. Animation is choreographed on a common step
All action takes place in one surrounding. When objects are
restructured and transformed, the user will be given with
the experience without collapsing the continuity of it.
9. Motion provides meaning
Motion is meaningful and convenient. It helps to focus attention
and preserves continuity. The following elements assists in
material design for apps of Android version 5.0 (Lollipop) or higher.
Themes
The material theme is defined as,
@android:style/Theme.Material (dark version)
@android:style/Theme.Material.Light (light version)
@android:style/Theme.Material.Light.DarkActionBar
To use the material theme in your apps, customize the color palette as shown below,
<resources>
<!-- inherit from the material theme -->
<style name="AppTheme" parent="android:Theme.Material">
<!-- Main theme colors -->
<!-- your app branding color for the app bar -->
<item name="android:colorPrimary">@color/primary</item>
<!-- darker variant for the status bar and contextual app bars -->
<item name="android:colorPrimaryDark">@color/primary_dark</item>
<!-- theme UI controls like checkboxes and text fields -->
<item name="android:colorAccent">@color/accent</item>
</style>
</resources>
The following example describes how to add material design to a button
styles.xml
<resources>
<!-- Base application theme. -->
<style name="AppTheme.PopupOverlay"
parent="ThemeOverlay.AppCompat.Light" />
<!-- Customize your theme here. -->
<style name="MyButton" parent="Theme.AppCompat.Light">
<item name="colorControlHighlight">@color/calbutton_focus</item>
<item name="colorButtonNormal">@color/background_color</item>
</style>
</resources>
activity_main.xml
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height=" match_parent ">
<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:theme="@style/MyButton"
android:layout_gravity="center"
android:text="Click"
android:textAllCaps="true"
android:textColor="@color/white"/>
</LinearLayout>
Cards and Lists
Cards and Lists are the two new widgets in Android with material design styles and animation. To create cards
and Lists, RecyclerView can be used, which is introduced from Android version 5.0 (Lollipop). It is an adoption of
ListView, which supports various layout types and contributes performance improvements. Part of data can be
shown inside the card with a constant look over apps in CardView.
An example shown below demonstrates how to add a CardView in your layout.
build.gradle
dependencies {
// CardView
compile 'com.android.support:cardview-v7:23.3.+'
}
activity_card.xml
<android.support.v7.widget.CardView
android:id="@+id/card_view"
android:layout_width="200dp"
android:layout_height="200dp"
card_view:cardCornerRadius="3dp">
...
</android.support.v7.widget.CardView>
To use RecyclerView widget in your layout, necessary attribute is shown below,
build.gradle
activity_main.xml
dependencies {
// RecyclerView
compile 'com.android.support:recyclerview-v7:23.1.1
}
<android.support.v7.widget.RecyclerView
android:id="@+id/recycler_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipToPadding="false"
android:scrollbars="vertical" />
Floating Action Button
Another interesting widget introduced in material design is floating action button. This button floats on UI in a
circular shape with an action attached to it. By default, its behavior is to animate on the screen as an expanding
piece of material.
We can also provide shadows and elevation to the buttons. The distance between surfaces and the depth of its
shadow signifies elevation. To set the elevation of a view, use the android:elevation attribute in your layouts. The
bounds of a view’s background drawable determine the default shape of its shadow.
In addition to the X and Y properties, views in Android material design now have a Z property. This new property
serves as the elevation of a view, which concludes the size of the shadow i.e., a view with greater Z values
launches bigger shadows.
< android.support.design.widget.FloatingActionButton
android:id=”@+id/my_floatbutton”
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android: layout_gravity="top|end”
android: src="@android:drawable/ic_add”
android:background=”@color/white”
android:elevation="5dp" />
build.gradle
activity_main.xml
dependencies{
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
}
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android: layout_width="wrap_content"
android: layout_height="wrap_content"
android: layout_gravity="bottom|end" // position the floating button
android: layout_margin="@dimen/fab_margin"
android: src="@android:drawable/ic_dialog_email"/>
You can also define own background color for floating button using app:backgroundTint. The size of the button
can also be defined by using app:fabSize attribute.
CollapsingToolbarLayout
A new widget called CollapsingToolbarLayout was also introduced from Android version 5.0 (Lollipop). This comes
with an amazing animation; whenever a user scrolls up the control provides the fabulous animating effect.
According to the Android documentation, CollapsingToolbarLayout is a wrapper for Toolbar which implements a
collapsing app bar. It makes the header image collapse into the Toolbar, adjusting its title size and it is designed to
be used as a direct child of an AppBarLayout.
To add CollapsingToolbarLayout to your layout, see the following,
build.gradle
dependencies{
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
}
activity_main.xml
<android.support.design.widget.CollapsingToolbarLayout
android:id="@+id/collapsing_toolbar"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
app:contentScrim="?attr/colorPrimary"
app:expandedTitleMarginEnd="64dp"
app:expandedTitleMarginStart="48dp"
app:layout_scrollFlags="scroll|exitUntilCollapsed">
.....
.....
</android.support.design.widget.CollapsingToolbarLayout>
Conclusion
Google developed material design to bring together the user experience from different Google platforms. Totally,
material design made the user interaction smooth, simpler and greater intuitive. When you think about material
design, it has so many technologies, which will only create the impression for users while using apps during
interactions. The physical world is the very big part of the material design. So all in all, what do you think of
Material Design in Android? Don’t you think it’s the best part to unite and enhance the user experience while
using the Android application?
C ONCLUSION
Thank You….
OurOfficialWebsite- www.vmokshagroup.com
FacebookPage- https://www.facebook.com/Vmokshagroup
Google+Page- https://plus.google.com/+VmokshaTechnologies
TwitterPage- https://twitter.com/InfoVmoksha
PinterestPage- https://in.pinterest.com/vmokshagroup/
LinkedInPage- https://www.linkedin.com/company/vmoksha-technologies
InstagramPage- https://www.instagram.com/vmoksha.technologies/
ContactUs -080 4137 6300
Address -2799 & 2800, Srinidhi, Sector-1, 27th Main, HSR Layout, Bengaluru, Karnataka 560102.
Vmoksha Technologies Pvt. Ltd.

More Related Content

What's hot

Swift Animated tabBar
Swift Animated tabBarSwift Animated tabBar
Swift Animated tabBarKetan Raval
 
Website image editing tutorial: WordPress, Paint.NET and PowerPoint(!)
Website image editing tutorial: WordPress, Paint.NET and PowerPoint(!)Website image editing tutorial: WordPress, Paint.NET and PowerPoint(!)
Website image editing tutorial: WordPress, Paint.NET and PowerPoint(!)Jukka Niiranen
 
Session 14 - Working with table view and search bar
Session 14 - Working with table view and search barSession 14 - Working with table view and search bar
Session 14 - Working with table view and search barVu Tran Lam
 
Accessibility in android And Add accessibility hooks to a custom view
Accessibility in android And Add accessibility hooks to a custom viewAccessibility in android And Add accessibility hooks to a custom view
Accessibility in android And Add accessibility hooks to a custom viewAly Arman
 

What's hot (7)

Swift Animated tabBar
Swift Animated tabBarSwift Animated tabBar
Swift Animated tabBar
 
Plan601E Session 4 Demo
Plan601E Session 4 DemoPlan601E Session 4 Demo
Plan601E Session 4 Demo
 
Website image editing tutorial: WordPress, Paint.NET and PowerPoint(!)
Website image editing tutorial: WordPress, Paint.NET and PowerPoint(!)Website image editing tutorial: WordPress, Paint.NET and PowerPoint(!)
Website image editing tutorial: WordPress, Paint.NET and PowerPoint(!)
 
09 material design
09 material design09 material design
09 material design
 
Media techonologies
Media techonologiesMedia techonologies
Media techonologies
 
Session 14 - Working with table view and search bar
Session 14 - Working with table view and search barSession 14 - Working with table view and search bar
Session 14 - Working with table view and search bar
 
Accessibility in android And Add accessibility hooks to a custom view
Accessibility in android And Add accessibility hooks to a custom viewAccessibility in android And Add accessibility hooks to a custom view
Accessibility in android And Add accessibility hooks to a custom view
 

Viewers also liked

Business cards database
Business cards databaseBusiness cards database
Business cards databasePrince Patni
 
angular-formly presentation
angular-formly presentationangular-formly presentation
angular-formly presentationAnnia Martinez
 
SDLC - Software Development Life Cycle
SDLC - Software Development Life CycleSDLC - Software Development Life Cycle
SDLC - Software Development Life CycleSuresh Koujalagi
 
Vmoksha Technologies competencies
Vmoksha Technologies competenciesVmoksha Technologies competencies
Vmoksha Technologies competenciesVmoksha Admin
 
Material Design - Høgskolen Ringerike 2017
Material Design - Høgskolen Ringerike 2017Material Design - Høgskolen Ringerike 2017
Material Design - Høgskolen Ringerike 2017Konstantin Loginov
 
Research on social media platform for an organisation
Research on social media platform for an organisationResearch on social media platform for an organisation
Research on social media platform for an organisationSuresh Koujalagi
 
Presentation aiesec journee du volontariat
Presentation aiesec journee du volontariatPresentation aiesec journee du volontariat
Presentation aiesec journee du volontariatKarel Manuela Kouadio
 
Moving to the cloud edited
Moving to the cloud   editedMoving to the cloud   edited
Moving to the cloud editedVmoksha Admin
 
SUGARCRM research by Vmoksha
SUGARCRM research by VmokshaSUGARCRM research by Vmoksha
SUGARCRM research by VmokshaSuresh Koujalagi
 
Mobility Services
Mobility Services Mobility Services
Mobility Services 201380043
 
Digital Marketing Overview
Digital Marketing OverviewDigital Marketing Overview
Digital Marketing OverviewAnton Koekemoer
 

Viewers also liked (14)

Business cards database
Business cards databaseBusiness cards database
Business cards database
 
AWS SES
AWS SESAWS SES
AWS SES
 
saurabh_ios
saurabh_iossaurabh_ios
saurabh_ios
 
angular-formly presentation
angular-formly presentationangular-formly presentation
angular-formly presentation
 
SDLC - Software Development Life Cycle
SDLC - Software Development Life CycleSDLC - Software Development Life Cycle
SDLC - Software Development Life Cycle
 
Vmoksha Technologies competencies
Vmoksha Technologies competenciesVmoksha Technologies competencies
Vmoksha Technologies competencies
 
Material Design - Høgskolen Ringerike 2017
Material Design - Høgskolen Ringerike 2017Material Design - Høgskolen Ringerike 2017
Material Design - Høgskolen Ringerike 2017
 
Research on social media platform for an organisation
Research on social media platform for an organisationResearch on social media platform for an organisation
Research on social media platform for an organisation
 
Presentation aiesec journee du volontariat
Presentation aiesec journee du volontariatPresentation aiesec journee du volontariat
Presentation aiesec journee du volontariat
 
Moving to the cloud edited
Moving to the cloud   editedMoving to the cloud   edited
Moving to the cloud edited
 
About vmoksha brief
About vmoksha briefAbout vmoksha brief
About vmoksha brief
 
SUGARCRM research by Vmoksha
SUGARCRM research by VmokshaSUGARCRM research by Vmoksha
SUGARCRM research by Vmoksha
 
Mobility Services
Mobility Services Mobility Services
Mobility Services
 
Digital Marketing Overview
Digital Marketing OverviewDigital Marketing Overview
Digital Marketing Overview
 

Similar to Material design for android

Introduction to Material Design
Introduction to Material DesignIntroduction to Material Design
Introduction to Material DesignMohammad Arman
 
TDC 2014 - Trilha Mobile - Material design
TDC 2014 - Trilha Mobile - Material designTDC 2014 - Trilha Mobile - Material design
TDC 2014 - Trilha Mobile - Material designJackson F. de A. Mafra
 
Guide 101_ Material Design in Android App Development.pdf
Guide 101_ Material Design in Android App Development.pdfGuide 101_ Material Design in Android App Development.pdf
Guide 101_ Material Design in Android App Development.pdfBOSC Tech Labs
 
User interface (UI) for mobile applications
User interface (UI) for mobile applicationsUser interface (UI) for mobile applications
User interface (UI) for mobile applicationsAashish Uppal
 
Summary of Material Design Guidelines
Summary of Material Design GuidelinesSummary of Material Design Guidelines
Summary of Material Design GuidelinesAmit Kumar Tiwari
 
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
 
Sayed-Minhal-Principles of Beautiful Design
Sayed-Minhal-Principles of Beautiful DesignSayed-Minhal-Principles of Beautiful Design
Sayed-Minhal-Principles of Beautiful DesignSayed Minhal
 
10 Design Trends 2015 - UX & UI Trends for Mobile Solutions
10 Design Trends 2015 - UX & UI Trends for Mobile Solutions10 Design Trends 2015 - UX & UI Trends for Mobile Solutions
10 Design Trends 2015 - UX & UI Trends for Mobile SolutionsDMI
 
Designing apps for Android
Designing apps for AndroidDesigning apps for Android
Designing apps for AndroidLorica Claesson
 
Imaging and design for the online environment (empowermwnt technologies)
Imaging and design for the online environment (empowermwnt technologies)Imaging and design for the online environment (empowermwnt technologies)
Imaging and design for the online environment (empowermwnt technologies)EricaVS
 
Interactive cues in flat design
Interactive cues in flat designInteractive cues in flat design
Interactive cues in flat designMing-Liang Liu
 
Google Material Design
Google Material DesignGoogle Material Design
Google Material Designsara stanford
 
2014 UX/UI trends for mobile solutions
2014 UX/UI trends for mobile solutions2014 UX/UI trends for mobile solutions
2014 UX/UI trends for mobile solutionsDMI
 

Similar to Material design for android (20)

Android Material Design
Android Material DesignAndroid Material Design
Android Material Design
 
Introduction to Material Design
Introduction to Material DesignIntroduction to Material Design
Introduction to Material Design
 
UI and UX for Mobile Developers
UI and UX for Mobile DevelopersUI and UX for Mobile Developers
UI and UX for Mobile Developers
 
TDC 2014 - Trilha Mobile - Material design
TDC 2014 - Trilha Mobile - Material designTDC 2014 - Trilha Mobile - Material design
TDC 2014 - Trilha Mobile - Material design
 
Guide 101_ Material Design in Android App Development.pdf
Guide 101_ Material Design in Android App Development.pdfGuide 101_ Material Design in Android App Development.pdf
Guide 101_ Material Design in Android App Development.pdf
 
Material design
Material designMaterial design
Material design
 
Material design
Material designMaterial design
Material design
 
User interface (UI) for mobile applications
User interface (UI) for mobile applicationsUser interface (UI) for mobile applications
User interface (UI) for mobile applications
 
Summary of Material Design Guidelines
Summary of Material Design GuidelinesSummary of Material Design Guidelines
Summary of Material Design Guidelines
 
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
 
Material design
Material designMaterial design
Material design
 
Sayed-Minhal-Principles of Beautiful Design
Sayed-Minhal-Principles of Beautiful DesignSayed-Minhal-Principles of Beautiful Design
Sayed-Minhal-Principles of Beautiful Design
 
10 Design Trends 2015 - UX & UI Trends for Mobile Solutions
10 Design Trends 2015 - UX & UI Trends for Mobile Solutions10 Design Trends 2015 - UX & UI Trends for Mobile Solutions
10 Design Trends 2015 - UX & UI Trends for Mobile Solutions
 
Designing apps for Android
Designing apps for AndroidDesigning apps for Android
Designing apps for Android
 
Imaging and design for the online environment (empowermwnt technologies)
Imaging and design for the online environment (empowermwnt technologies)Imaging and design for the online environment (empowermwnt technologies)
Imaging and design for the online environment (empowermwnt technologies)
 
Interactive cues in flat design
Interactive cues in flat designInteractive cues in flat design
Interactive cues in flat design
 
Google Material Design
Google Material DesignGoogle Material Design
Google Material Design
 
2014 UX/UI trends for mobile solutions
2014 UX/UI trends for mobile solutions2014 UX/UI trends for mobile solutions
2014 UX/UI trends for mobile solutions
 
Material
MaterialMaterial
Material
 
Material
MaterialMaterial
Material
 

More from Vmoksha Admin

Microsoft azure edited
Microsoft azure   editedMicrosoft azure   edited
Microsoft azure editedVmoksha Admin
 
6 mobile app trends that are expected to rule in 2016 (vmoksha technologies p...
6 mobile app trends that are expected to rule in 2016 (vmoksha technologies p...6 mobile app trends that are expected to rule in 2016 (vmoksha technologies p...
6 mobile app trends that are expected to rule in 2016 (vmoksha technologies p...Vmoksha Admin
 
Setting up an email engine using amazon ses (vmokhsa technologies pvt. ltd.)
Setting up an email engine using amazon ses (vmokhsa technologies pvt. ltd.)Setting up an email engine using amazon ses (vmokhsa technologies pvt. ltd.)
Setting up an email engine using amazon ses (vmokhsa technologies pvt. ltd.)Vmoksha Admin
 
Virtual hosting using nginx
Virtual hosting using nginxVirtual hosting using nginx
Virtual hosting using nginxVmoksha Admin
 

More from Vmoksha Admin (7)

Saa s edited
Saa s   editedSaa s   edited
Saa s edited
 
Microsoft azure edited
Microsoft azure   editedMicrosoft azure   edited
Microsoft azure edited
 
6 mobile app trends that are expected to rule in 2016 (vmoksha technologies p...
6 mobile app trends that are expected to rule in 2016 (vmoksha technologies p...6 mobile app trends that are expected to rule in 2016 (vmoksha technologies p...
6 mobile app trends that are expected to rule in 2016 (vmoksha technologies p...
 
Setting up an email engine using amazon ses (vmokhsa technologies pvt. ltd.)
Setting up an email engine using amazon ses (vmokhsa technologies pvt. ltd.)Setting up an email engine using amazon ses (vmokhsa technologies pvt. ltd.)
Setting up an email engine using amazon ses (vmokhsa technologies pvt. ltd.)
 
Virtual hosting using nginx
Virtual hosting using nginxVirtual hosting using nginx
Virtual hosting using nginx
 
Mobility
MobilityMobility
Mobility
 
Mobility
MobilityMobility
Mobility
 

Recently uploaded

CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceanilsa9823
 
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceanilsa9823
 
Chandigarh Call Girls Service ❤️🍑 9115573837 👄🫦Independent Escort Service Cha...
Chandigarh Call Girls Service ❤️🍑 9115573837 👄🫦Independent Escort Service Cha...Chandigarh Call Girls Service ❤️🍑 9115573837 👄🫦Independent Escort Service Cha...
Chandigarh Call Girls Service ❤️🍑 9115573837 👄🫦Independent Escort Service Cha...Niamh verma
 
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Pooja Nehwal
 
哪里有卖的《俄亥俄大学学历证书+俄亥俄大学文凭证书+俄亥俄大学学位证书》Q微信741003700《俄亥俄大学学位证书复制》办理俄亥俄大学毕业证成绩单|购买...
哪里有卖的《俄亥俄大学学历证书+俄亥俄大学文凭证书+俄亥俄大学学位证书》Q微信741003700《俄亥俄大学学位证书复制》办理俄亥俄大学毕业证成绩单|购买...哪里有卖的《俄亥俄大学学历证书+俄亥俄大学文凭证书+俄亥俄大学学位证书》Q微信741003700《俄亥俄大学学位证书复制》办理俄亥俄大学毕业证成绩单|购买...
哪里有卖的《俄亥俄大学学历证书+俄亥俄大学文凭证书+俄亥俄大学学位证书》Q微信741003700《俄亥俄大学学位证书复制》办理俄亥俄大学毕业证成绩单|购买...wyqazy
 
9892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x79892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x7Pooja Nehwal
 
Model Call Girl in Shalimar Bagh Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Shalimar Bagh Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Shalimar Bagh Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Shalimar Bagh Delhi reach out to us at 🔝8264348440🔝soniya singh
 

Recently uploaded (7)

CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
 
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun serviceCALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
CALL ON ➥8923113531 🔝Call Girls Gomti Nagar Lucknow best Night Fun service
 
Chandigarh Call Girls Service ❤️🍑 9115573837 👄🫦Independent Escort Service Cha...
Chandigarh Call Girls Service ❤️🍑 9115573837 👄🫦Independent Escort Service Cha...Chandigarh Call Girls Service ❤️🍑 9115573837 👄🫦Independent Escort Service Cha...
Chandigarh Call Girls Service ❤️🍑 9115573837 👄🫦Independent Escort Service Cha...
 
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
Call US Pooja 9892124323 ✓Call Girls In Mira Road ( Mumbai ) secure service,
 
哪里有卖的《俄亥俄大学学历证书+俄亥俄大学文凭证书+俄亥俄大学学位证书》Q微信741003700《俄亥俄大学学位证书复制》办理俄亥俄大学毕业证成绩单|购买...
哪里有卖的《俄亥俄大学学历证书+俄亥俄大学文凭证书+俄亥俄大学学位证书》Q微信741003700《俄亥俄大学学位证书复制》办理俄亥俄大学毕业证成绩单|购买...哪里有卖的《俄亥俄大学学历证书+俄亥俄大学文凭证书+俄亥俄大学学位证书》Q微信741003700《俄亥俄大学学位证书复制》办理俄亥俄大学毕业证成绩单|购买...
哪里有卖的《俄亥俄大学学历证书+俄亥俄大学文凭证书+俄亥俄大学学位证书》Q微信741003700《俄亥俄大学学位证书复制》办理俄亥俄大学毕业证成绩单|购买...
 
9892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x79892124323 | Book Call Girls in Juhu and escort services 24x7
9892124323 | Book Call Girls in Juhu and escort services 24x7
 
Model Call Girl in Shalimar Bagh Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Shalimar Bagh Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Shalimar Bagh Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Shalimar Bagh Delhi reach out to us at 🔝8264348440🔝
 

Material design for android

  • 2. CONTENTS Introduction Goals for Material Design Principles of Material Design Themes Cards and Lists Floating Action Button Collapsing Toolbar layout Conclusions
  • 3. Introduction In 2014, Google developed a new visual design language called Material Design for Android Lollipop and higher versions. The visual specifics in material design are amusing, and the material objects have x, y and z dimensions, which allows you to create an incredible 3D world. Material design is not about how to use dazzling colors, best images, and the elevation of the object; it is about how we create the amazing experience to users with the positive brand reality. Google has proposed some rules and regulations while adding the material design to application to improvise its standards. Instead of using a palette selection tool that pulls colors to the content of an app, using of material design makes the Android application’s graphic layout more simplified and standard format. To be noted, the material design is not only being used for rectangular or tablet screen; it should also be used for circular watch screen, etc. So if we create a grid, then it precepts all the spacing and should match to all the types of screens, which is a must for apps that are identified everywhere.
  • 4. Overall to say, material design is straightforward, clear and brilliant. Because of these dazzling features, it has become an imperative for a broad number of gadgets than any other UI in history.
  • 5. Goals of Material Design •To design the application UI like a magical paper. Let’s say, something that appears like real, appreciable objects. •Animations have been pulled to make the experience more lively by safeguarding the maximum amount of content is always visible. •With Material Design, Google also determined to robotize the experience for users. •Mobile rules are fundamental but touch, voice, mouse, and keyboard are all excellent input methods. The materials take energy from the users, from their fingers, from their mouse click, their touch and use it to transform and animate.
  • 6. In material design, software elements are treated as real things. For example, take paper and ink. Every pixel drawn in an application is similar to a dot of ink on a piece of paper. Assume that paper is plain and doesn’t have any color whereas the ink can be of any color. So the content color of a paper depends on the color of the ink. Likewise in Android application, it can be a  Menu,  Button or  Image. And also the paper can be of any size. It might fill the whole screen, or it might even shrink to small square or round shape. So the ink will not have any restrictions. It will be throughout the paper. It just has to fit inside the paper to be visible. The papers can change its shape, split, move, join and re-size. Likewise, every application made in material design will have all these characteristics.
  • 7. Principles of Material Design 1. Material is a metaphor A material metaphor is a bring together theory of a rationalized space and a system of motion. A metaphor is a figure of speech that specifies flashy effect to one thing by observing another thing. It is open to imagination and magic.
  • 8. 2. Surfaces are spontaneous and natural Surfaces and edges provide visual hints that are familiarized in our knowledge of reality. The use of ordinary material attributes conveys to a primal part of our brain and advice us to quickly understand its need.
  • 9. 3. Dimensionality supports interaction The basics of light, surface, and movement are keys to transfer how objects cooperate. Sensible lighting shows bond, divides space, and demonstrate moving parts. 4. One flexible design A single underlying design system establishes interactions and space. Each device follows a different view of the same fundamental system. Each view is made custom-fit to the size and interaction appropriate for that device. Colors, iconography, hierarchy, and spatial relationships stand constantly.
  • 10. 5. Content is bold, graphic, and wilful Bold content provides grouping, meaning, and focus. Cautious color choices, edge-to-edge imagery, and intentional white space create captivation and clarity.
  • 11. 6. Color, surface, and iconography highlights actions User action is all about the significance of experience design. Color in material design is inspired by bold complexion, deep shadows, and brilliant highlights. The whole design is reconstructed by the change of points in the immediate actions. 7. Users introduce alteration/change Alterations in the UI extract their energy from user actions. Motion that forces from touch respects and emphasizes the user as the best mover. It means that the widgets or material takes the energy from users’ fingers during the mouse click or on touch and that energy is used to animate to show it as reality.
  • 12. 8. Animation is choreographed on a common step All action takes place in one surrounding. When objects are restructured and transformed, the user will be given with the experience without collapsing the continuity of it. 9. Motion provides meaning Motion is meaningful and convenient. It helps to focus attention and preserves continuity. The following elements assists in material design for apps of Android version 5.0 (Lollipop) or higher.
  • 13. Themes The material theme is defined as, @android:style/Theme.Material (dark version) @android:style/Theme.Material.Light (light version) @android:style/Theme.Material.Light.DarkActionBar
  • 14. To use the material theme in your apps, customize the color palette as shown below, <resources> <!-- inherit from the material theme --> <style name="AppTheme" parent="android:Theme.Material"> <!-- Main theme colors --> <!-- your app branding color for the app bar --> <item name="android:colorPrimary">@color/primary</item> <!-- darker variant for the status bar and contextual app bars --> <item name="android:colorPrimaryDark">@color/primary_dark</item> <!-- theme UI controls like checkboxes and text fields --> <item name="android:colorAccent">@color/accent</item> </style> </resources>
  • 15. The following example describes how to add material design to a button styles.xml <resources> <!-- Base application theme. --> <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" /> <!-- Customize your theme here. --> <style name="MyButton" parent="Theme.AppCompat.Light"> <item name="colorControlHighlight">@color/calbutton_focus</item> <item name="colorButtonNormal">@color/background_color</item> </style> </resources>
  • 16. activity_main.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height=" match_parent "> <Button android:id="@+id/button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:theme="@style/MyButton" android:layout_gravity="center" android:text="Click" android:textAllCaps="true" android:textColor="@color/white"/> </LinearLayout>
  • 17. Cards and Lists Cards and Lists are the two new widgets in Android with material design styles and animation. To create cards and Lists, RecyclerView can be used, which is introduced from Android version 5.0 (Lollipop). It is an adoption of ListView, which supports various layout types and contributes performance improvements. Part of data can be shown inside the card with a constant look over apps in CardView. An example shown below demonstrates how to add a CardView in your layout. build.gradle dependencies { // CardView compile 'com.android.support:cardview-v7:23.3.+' }
  • 19. To use RecyclerView widget in your layout, necessary attribute is shown below, build.gradle activity_main.xml dependencies { // RecyclerView compile 'com.android.support:recyclerview-v7:23.1.1 } <android.support.v7.widget.RecyclerView android:id="@+id/recycler_view" android:layout_width="match_parent" android:layout_height="wrap_content" android:clipToPadding="false" android:scrollbars="vertical" />
  • 20. Floating Action Button Another interesting widget introduced in material design is floating action button. This button floats on UI in a circular shape with an action attached to it. By default, its behavior is to animate on the screen as an expanding piece of material.
  • 21. We can also provide shadows and elevation to the buttons. The distance between surfaces and the depth of its shadow signifies elevation. To set the elevation of a view, use the android:elevation attribute in your layouts. The bounds of a view’s background drawable determine the default shape of its shadow. In addition to the X and Y properties, views in Android material design now have a Z property. This new property serves as the elevation of a view, which concludes the size of the shadow i.e., a view with greater Z values launches bigger shadows. < android.support.design.widget.FloatingActionButton android:id=”@+id/my_floatbutton” android:layout_width=”wrap_content” android:layout_height=”wrap_content” android: layout_gravity="top|end” android: src="@android:drawable/ic_add” android:background=”@color/white” android:elevation="5dp" />
  • 22. build.gradle activity_main.xml dependencies{ compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:design:23.1.1' } <android.support.design.widget.FloatingActionButton android:id="@+id/fab" android: layout_width="wrap_content" android: layout_height="wrap_content" android: layout_gravity="bottom|end" // position the floating button android: layout_margin="@dimen/fab_margin" android: src="@android:drawable/ic_dialog_email"/>
  • 23. You can also define own background color for floating button using app:backgroundTint. The size of the button can also be defined by using app:fabSize attribute.
  • 24. CollapsingToolbarLayout A new widget called CollapsingToolbarLayout was also introduced from Android version 5.0 (Lollipop). This comes with an amazing animation; whenever a user scrolls up the control provides the fabulous animating effect. According to the Android documentation, CollapsingToolbarLayout is a wrapper for Toolbar which implements a collapsing app bar. It makes the header image collapse into the Toolbar, adjusting its title size and it is designed to be used as a direct child of an AppBarLayout. To add CollapsingToolbarLayout to your layout, see the following, build.gradle dependencies{ compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:design:23.1.1' }
  • 26. Conclusion Google developed material design to bring together the user experience from different Google platforms. Totally, material design made the user interaction smooth, simpler and greater intuitive. When you think about material design, it has so many technologies, which will only create the impression for users while using apps during interactions. The physical world is the very big part of the material design. So all in all, what do you think of Material Design in Android? Don’t you think it’s the best part to unite and enhance the user experience while using the Android application? C ONCLUSION
  • 27. Thank You…. OurOfficialWebsite- www.vmokshagroup.com FacebookPage- https://www.facebook.com/Vmokshagroup Google+Page- https://plus.google.com/+VmokshaTechnologies TwitterPage- https://twitter.com/InfoVmoksha PinterestPage- https://in.pinterest.com/vmokshagroup/ LinkedInPage- https://www.linkedin.com/company/vmoksha-technologies InstagramPage- https://www.instagram.com/vmoksha.technologies/ ContactUs -080 4137 6300 Address -2799 & 2800, Srinidhi, Sector-1, 27th Main, HSR Layout, Bengaluru, Karnataka 560102. Vmoksha Technologies Pvt. Ltd.