SlideShare a Scribd company logo
www.edureka.co/android-development-certification-course
View Android Development course details at www.edureka.co/android-development-certification-course
Develop mobile apps using ANDROID lollipop
For Queries:
Post on Twitter @edurekaIN: #askEdureka
Post on Facebook /edurekaIN
For more details please contact us:
US : 1800 275 9730 (toll free)
INDIA : +91 88808 62004
Email Us : sales@edureka.co
Slide 2 www.edureka.co/android-development-certification-course
In this webinar, we will discuss:
 Android 5.0 History
 Material Design And UI Components
 Android Runtime (ART)
 Compatibility and Support Libraries
Objectives
Slide 3 www.edureka.co/android-development-certification-course
Android History
Slide 4 www.edureka.co/android-development-certification-course
 Preview “L” revealed during I/O 2014
» API Level 20
» Preview images
 November 2014
» Final API Level 21
» Firmware Downloads for Nexus devices Nexus 6/9 “available”
Android 5.0 History
Slide 5 www.edureka.co/android-development-certification-course
Material Design and
Components
Slide 6 www.edureka.co/android-development-certification-course
 There is more http :/ / www.g o o gle .c o m / d e sign/ s p e c / m a te rial-d e s ig n/ introduc tion.ht m l
 Design Guidelines

guid e line s
Material Design Principles
Slide 7 www.edureka.co/android-development-certification-course
 Colors
» Large areas, suggested color palette
 3D
» Mostly 2D & 2.5D to give structure
 Images
» More personal & emotional content
 Light and Shadow
» Cards and Overlays

guid e line s
Material Design Principles 1/2
Slide 8 www.edureka.co/android-development-certification-course
 Flat
» No bevels, gradients, effects
 Typography
» Roboto and font style definitions
 Animations
» Explains interaction
 Layout templates
» Margins, key lines, etc.

guid e line s
Material Design Principles 2/2
Slide 9 www.edureka.co/android-development-certification-course
Set in AndroidManifest.xml
@android:style/Theme.Material
@android:style/Theme.Material.Light
@android:style/ Theme.Material.Light.DarkActionBar

guid e line s
Material Design Theme
Slide 10 www.edureka.co/android-development-certification-course
<style name="AppTheme“ parent="android:Theme.Material">
<item name="android:colorPrimary">#3333cc</item>
<item name="android:colorPrimaryDark">#000099</item>
<item name="android:colorAccent">#999933</item>
</style>
Material Design Theme – Custom Colors
Slide 11 www.edureka.co/android-development-certification-course
 ToolBar is a generalized ActionBar
» More flexible
 setActionBar(toolBar)
» Option menu actions
 Can be placed anywhere in the layout
» For example, in a pop up Fragment
 Toolbar is just another View
guid e line s
Toolbar
Slide 12 www.edureka.co/android-development-certification-course
<!–- For example inside some RelativeLayout -->
<android.widget.Toolbar android:id=”@+id/mytoolbar”
android:layout_height=”wrap_content”
android:layout_width=”match_parent”
android:minHeight=”?attr/actionBarSize”
android:background=”?attr/colorPrimary” />
// Inside Activity, after inflating the layout Toolbar toolbar =
(Toolbar) findViewById(R.id.mytoolbar);
Toolbar Example
Slide 13 www.edureka.co/android-development-certification-course
toolbar.inflateMenu(R.menu.mytoolbar_menu);
toolbar.setOnMenuItemClickListener(
new Toolbar.OnMenuItemClickListener() {
@Override
public boolean onMenuItemClick(MenuItem item) {
// Do something
}
});
Toolbar – Standalone with Option Menu
Slide 14 www.edureka.co/android-development-certification-course
 Say good bye to shadow.png
<View … android:elevation="8dp" />
 Change the color of drawables
drawable.setTint(color);
//XML: android:tint="#ff00ff"
Shadows and Tints – Less Drawables!
Slide 15 www.edureka.co/android-development-certification-course
 Where does its name come from?
Recycled views (aka convert views)
 Powerful adapter-backed view
More flexible than ListView and GridView
 NOT a framework class (!)
Support library on its own
 Gradle dependency
com.android.support:recyclerview-v7:21.0.+
Recycler View
Slide 16 www.edureka.co/android-development-certification-course
 LayoutManager places child views
 Must be set in RecyclerView
» recyclerView.setLayoutManager(lm);
 Default LayoutManagers
» LinearLayoutManager (vertical & horizontal)
» StaggeredGridLayoutManager
» GridLayoutManager
Recycler View – LayoutManager
Slide 17 www.edureka.co/android-development-certification-course
 RecyclerView.ViewHolder contains View
Must be sub-classed, avoids findByView(…)
 Implement abstract RecyclerView.Adapter
// create new view and its holder (no binding) ViewHolder onCreateViewHolder(ViewGroup g, int pos)
// bind data values to View
void onBindViewHolder(ViewHolder h, int pos)
int getItemCount()
RecyclerView.Adapter<ViewHolder>
Slide 18 www.edureka.co/android-development-certification-course
 Problem with notifyDataSetChanged (ListV.)
» Which elements have changed?
» Individual animations are hard to implement
 Fine grained notifications
» notifyItemChanged(int)
» notifyItemInserted(int)
» notifyItemRemoved(int)
» notifyItemRangeChanged(int, int)
» notifyItemRangeInserted(int, int)
» notifyItemRangeRemoved(int, int)
RecyclerView.Adapter – Data Notifications
Slide 19 www.edureka.co/android-development-certification-course
 ViewHolders might use expensive resources like Bitmaps
 Callbacks useful to release resources
» onViewAttachedToWindow(VH holder)
» onViewDetachedFromWindow(VH holder)
» onViewRecycled(VH holder)
RecyclerView.Adapter Callbacks
Slide 20 www.edureka.co/android-development-certification-course
 Item modifications are animated by default
 Customize with RecyclerView.ItemAnimator
// Parameters: ViewHolder + change info animateAdd(…)
animateChange(…)
animateMove(…)
animateRemove(…)
// Plus some house keeping methods
RecyclerView Animations
Slide 21 www.edureka.co/android-development-certification-course
Android Runtime(ART)
Slide 22 www.edureka.co/android-development-certification-course
 No Java VM
 Dalvik VM
 Java source –> class -> DEX
 DEX: Dalvik executable, register-based
 JIT compiler since Android 2.2
 Several optimizations, but Unlike Java, Dalvik never challenged native
Android VM Basics : Dalvik
Slide 23 www.edureka.co/android-development-certification-course
 First appearance in Android 4.4, Dalvik is still default, ART is somewhat hidden
 Replaced Dalvik in Android 5.0
 Ahead of time compilation (AOT)
 Better Garbage Collection (GC)
 64 bit support
 Better Profiling and Debugging
 Under documented
ART – The New Android Runtime
Slide 24 www.edureka.co/android-development-certification-course
 Compilation during installation
» Installation takes longer
» More storage required (DEX + Compiled)
 Better startup time
 No compilation lags during execution
 Compiled ART code is faster than compiled Dalvik code
 Better battery life, less memory consumption
ART – Ahead of Time Compilation
Slide 25 www.edureka.co/android-development-certification-course
 Reference : ~80,000 Events Dalvik 4.4
ART – Android 4.4 vs. 5.0 Performance
Slide 26 www.edureka.co/android-development-certification-course
 Chromium 37
 WebGL
 WebAudio
 Updateable from Google Play (!)
 Target SDK 21 has different defaults
» Blocks mixed content (HTTPS & HTTP)
» Blocks 3rd party cookies
 Permissions for camera, microphone, etc.
WebView
Slide 27 www.edureka.co/android-development-certification-course
 Even more powerful Notifications
» Privacy setting for lock screen
» Heads up notifications (floating)
 Camera2 API, deprecates Camera
» More control, burst mode, etc.
 Job scheduling to save battery
» Enqueue jobs and let the system decide when to run
We could go on and on and on..
Slide 28 www.edureka.co/android-development-certification-course
Compatibility and Support
Libraries
Slide 29 www.edureka.co/android-development-certification-course
 Set target level in Manifest
» android:targetSdkVersion="21“
 Check version in code
» if (Build.VERSION.SDK_INT >= 21) {…}
 Use version qualifiers for resource folders
» values-v21/
Support Android 5.0 Optionally
Slide 30 www.edureka.co/android-development-certification-course
 History: Started with ActionBar, etc.
 ToolBar
 Material Theme with customizable colors
 Tinting for some Views (Toolbar, Checkbox, …)
 Android 5.0 SearchView Widget
App Compact Library V2 1
Slide 31 www.edureka.co/android-development-certification-course
 For Android 2.1+ (API level 7)
 Depends on the v4 Support Library Fragments, etc.
 Gradle dependency
compile "com.android.support:appcompat-v7:21.0.+"
App Compact Library V2 1 - Integration
Slide 32 www.edureka.co/android-development-certification-course
 Palette
» Extract primary colors from Bitmap
» com.android.support:palette-v7:21.0.+
 Card Views
» Uses elevation on Android 5.0
» Shadow fallback for Pre-5.0
» com.android.support:cardview-v7:21.0.+
More Support Libraries related to Lollipop
Slide 33Slide 33Slide 33 www.edureka.co/android-development-certification-course
Course Topics
 Module 1
» Introduction to Android Development
 Module 2
» Android Layouts and Widgets
 Module 3
» Activity and Fragments, Notifications and Media
 Module 4
» Customizing Widgets and Implementing Event
Receivers
 Module 5
» Storage and Animations
 Module 6
» Web Services
 Module 7
» Location and Google Maps
 Module 8
» Database Framework & Third Party Libraries
 Module 9
» Sensors and Social Media Integration
 Module 10
» End-to-End App Development & Publishing
Slide 34 www.edureka.co/android-development-certification-course
Questions
Slide 35 www.edureka.co/android-development-certification-course
LIVE Online Class
Class Recording in LMS
24/7 Post Class Support
Module Wise Quiz
Project Work
Verifiable Certificate
How it Works
Slide 36 www.edureka.co/android-development-certification-course

More Related Content

PDF
Webinar: Front End Web Development - Trendy Web Designs Using HTML5
PDF
Getting Started With AngularJS
PDF
Using Android 5.0 Lollipop
PDF
Deep Dive into AngularJS Javascript Framework
PDF
Implementing Web Services In Java
PDF
Learn How to Animate your Android App
PDF
Android development 1july
PPTX
Java/J2EE & SOA
Webinar: Front End Web Development - Trendy Web Designs Using HTML5
Getting Started With AngularJS
Using Android 5.0 Lollipop
Deep Dive into AngularJS Javascript Framework
Implementing Web Services In Java
Learn How to Animate your Android App
Android development 1july
Java/J2EE & SOA

What's hot (20)

PDF
A Work Day Of A Web Developer
PDF
Introduction to Android Development
PDF
Design patterns 1july
PDF
Webinar: Microsoft SharePoint-The Ultimate Enterprise Collaboration Platform
PDF
Webinar: Microsoft .NET Framework : An IntelliSense Way of Web Development
PDF
Design Patterns : Solution to Software Design Problems
PDF
Animation And Testing In AngularJS
PDF
Design Patterns : The Ultimate Blueprint for Software
PDF
Webinar: Selenium WebDriver - Automation Uncomplicated
PDF
Webinar on Angular JS titled 'Develop Responsive Single Page Application'
DOCX
Acknowledgement
PDF
2014_report
DOC
235042632 super-shop-ee
PPT
Beyond The MVC
PDF
Summer training in web designing
PDF
Automation Using Selenium Webdriver
PDF
Day In A Life Of A Node.js Developer
PDF
Kirtesh Khandelwal,Project on HTML and CSS ,Final Year BCA , Dezyne E'cole Co...
PPTX
Mobile Web App development multiplatform using phonegap-cordova
PDF
Mobile applications development - why should you start learning it right now?
A Work Day Of A Web Developer
Introduction to Android Development
Design patterns 1july
Webinar: Microsoft SharePoint-The Ultimate Enterprise Collaboration Platform
Webinar: Microsoft .NET Framework : An IntelliSense Way of Web Development
Design Patterns : Solution to Software Design Problems
Animation And Testing In AngularJS
Design Patterns : The Ultimate Blueprint for Software
Webinar: Selenium WebDriver - Automation Uncomplicated
Webinar on Angular JS titled 'Develop Responsive Single Page Application'
Acknowledgement
2014_report
235042632 super-shop-ee
Beyond The MVC
Summer training in web designing
Automation Using Selenium Webdriver
Day In A Life Of A Node.js Developer
Kirtesh Khandelwal,Project on HTML and CSS ,Final Year BCA , Dezyne E'cole Co...
Mobile Web App development multiplatform using phonegap-cordova
Mobile applications development - why should you start learning it right now?
Ad

Viewers also liked (15)

PDF
Carol Robertson- Carpenter 10-15-12
PDF
E-Rate & HISD
PDF
Final TDS
PPTX
Estres ergonomico
PDF
123thue nồi nấu nguyên tắc và cơ cấu làm việc
PPTX
Vizuální hierarchie
PPT
Aabp co morbid dr. aftab asif
PDF
T300 GNSS Receiver
 
PDF
Certificacion de notas (dos paginas)
DOCX
Máy Sấy Bát Beko Dcu8332 b
PPTX
Dar Ojcostwa1.Marcin Rozmus 3f
PPT
Common oral diseases / dental implant courses
PPT
Công nghệ xay xát lúa gạo
DOC
Tư vấn lập dự án nhà máy sản xuất thức ăn việt thắng long an
PPTX
Javascript et indexation, où en est-on ? - SEO Camp'us Paris 2016
Carol Robertson- Carpenter 10-15-12
E-Rate & HISD
Final TDS
Estres ergonomico
123thue nồi nấu nguyên tắc và cơ cấu làm việc
Vizuální hierarchie
Aabp co morbid dr. aftab asif
T300 GNSS Receiver
 
Certificacion de notas (dos paginas)
Máy Sấy Bát Beko Dcu8332 b
Dar Ojcostwa1.Marcin Rozmus 3f
Common oral diseases / dental implant courses
Công nghệ xay xát lúa gạo
Tư vấn lập dự án nhà máy sản xuất thức ăn việt thắng long an
Javascript et indexation, où en est-on ? - SEO Camp'us Paris 2016
Ad

Similar to Develop Mobile App Using Android Lollipop (20)

PDF
Android Tutorial | Android App Development | Android Tutorial For Beginners |...
PDF
Getting Started with Android Development
PDF
Working with Advanced Views in Android
PPTX
Android 3rd june
PDF
Android development first steps
PPTX
Introduction to Android Development.pptx
PPTX
Android + training + philippines
PPTX
Android + training + philippines
PPTX
Intro to android (gdays)
PDF
Android Cookbook 1st Edition Ian F. Darwin
PDF
Android Cookbook Early Release Ian F Darwin
PDF
Mobile application and Game development
PPT
Android app development
PPTX
Android L and Wear overview
PPTX
Consistent UI Across Android Devices
PDF
Android Cookbook 2nd [early release] Edition Ian F. Darwin
PPTX
Android L and So Much More Webinar Slides
PPTX
Ultimate android app development course
PPTX
Applico Android Info Session at Columbia University
PDF
Android programming-basics
Android Tutorial | Android App Development | Android Tutorial For Beginners |...
Getting Started with Android Development
Working with Advanced Views in Android
Android 3rd june
Android development first steps
Introduction to Android Development.pptx
Android + training + philippines
Android + training + philippines
Intro to android (gdays)
Android Cookbook 1st Edition Ian F. Darwin
Android Cookbook Early Release Ian F Darwin
Mobile application and Game development
Android app development
Android L and Wear overview
Consistent UI Across Android Devices
Android Cookbook 2nd [early release] Edition Ian F. Darwin
Android L and So Much More Webinar Slides
Ultimate android app development course
Applico Android Info Session at Columbia University
Android programming-basics

More from Edureka! (20)

PDF
What to learn during the 21 days Lockdown | Edureka
PDF
Top 10 Dying Programming Languages in 2020 | Edureka
PDF
Top 5 Trending Business Intelligence Tools | Edureka
PDF
Tableau Tutorial for Data Science | Edureka
PDF
Python Programming Tutorial | Edureka
PDF
Top 5 PMP Certifications | Edureka
PDF
Top Maven Interview Questions in 2020 | Edureka
PDF
Linux Mint Tutorial | Edureka
PDF
How to Deploy Java Web App in AWS| Edureka
PDF
Importance of Digital Marketing | Edureka
PDF
RPA in 2020 | Edureka
PDF
Email Notifications in Jenkins | Edureka
PDF
EA Algorithm in Machine Learning | Edureka
PDF
Cognitive AI Tutorial | Edureka
PDF
AWS Cloud Practitioner Tutorial | Edureka
PDF
Blue Prism Top Interview Questions | Edureka
PDF
Big Data on AWS Tutorial | Edureka
PDF
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
PDF
Kubernetes Installation on Ubuntu | Edureka
PDF
Introduction to DevOps | Edureka
What to learn during the 21 days Lockdown | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
Tableau Tutorial for Data Science | Edureka
Python Programming Tutorial | Edureka
Top 5 PMP Certifications | Edureka
Top Maven Interview Questions in 2020 | Edureka
Linux Mint Tutorial | Edureka
How to Deploy Java Web App in AWS| Edureka
Importance of Digital Marketing | Edureka
RPA in 2020 | Edureka
Email Notifications in Jenkins | Edureka
EA Algorithm in Machine Learning | Edureka
Cognitive AI Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
Blue Prism Top Interview Questions | Edureka
Big Data on AWS Tutorial | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Kubernetes Installation on Ubuntu | Edureka
Introduction to DevOps | Edureka

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
KodekX | Application Modernization Development
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Cloud computing and distributed systems.
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPT
Teaching material agriculture food technology
PDF
NewMind AI Weekly Chronicles - August'25 Week I
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Unlocking AI with Model Context Protocol (MCP)
Agricultural_Statistics_at_a_Glance_2022_0.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
sap open course for s4hana steps from ECC to s4
Diabetes mellitus diagnosis method based random forest with bat algorithm
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Empathic Computing: Creating Shared Understanding
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
KodekX | Application Modernization Development
Understanding_Digital_Forensics_Presentation.pptx
Cloud computing and distributed systems.
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Encapsulation_ Review paper, used for researhc scholars
Chapter 3 Spatial Domain Image Processing.pdf
Teaching material agriculture food technology
NewMind AI Weekly Chronicles - August'25 Week I

Develop Mobile App Using Android Lollipop