SlideShare a Scribd company logo
Android Design Support Library
Ibnu Sina Wardy
Google Dev Expert: Android
About	
  Me	
  
Ibnu Sina Wardy
Google Developer Expert, Android
CEO of PT GITS Indonesia (gits.co.id)
Ibnu Sina Wardy
Google Developer Expert, Android
CEO of PT GITS Indonesia
Floating Action Button
Text Input Layout
Snackbar
Tab
Progress: 1%
Coordinator Layout
Navigation View
Floating Action Button
Floating Action Button
Floating Action Button
Floating action button redlines Mini floating action button redlines
Floa,ng	
  Ac,on	
  Bu1on	
  
•  Round button for a primary action on your interface
•  The color of this button is set in colorAccent from
your theme.
Floating Label
Floating Label
Hint Problem
Floating Label
When the user engages with the text input
field,
the floating inline labels move to float
above the field.
Floating Label
TextInputLayout
Snackbar
Snackbar
Providing lightweight, quick feedback about an operation
Snackbars are shown on the bottom of the screen and contain text
with an optional single action
Users can swipe them away before the timeout
They automatically time out after the given time length by
animating off the screen.
Snackbar
Snackbar
Tabs
Tabs
•  Implements both fixed tabs as well as
scrollable tabs
•  Tabs can be added programmatically.
Tabs
Tab Layout
Coordinator Layout
Coordinator Layout
provides additional level of control
over touch events between child
views.
CoordinatorLayout with FloatingActionButton & Snackbar
•  CoordinatorLayout resolve the issue of snackbar
displaying over the FloatingActionButton.
•  FloatingActionButton automatically moves upward
as the snackbar animates in and returns to its
position when the snackbar hides.
•  CoordinatorLayout enables user to swipe snackbar
away before the timeout.
CoordinatorLayout with FloatingActionButton & Snackbar
CoordinatorLayout with AppBarLayout
•  AppBarLayout allows your Toolbar and other views (such
as tabs provided by TabLayout) to react to scroll events in
a sibling view.
•  the AppBarLayout can respond to those events by using
the children’s scroll flags.
•  Toolbar reacts to scroll events in a sibling view
app:layout_scrollFlags="scroll|enterAlways"
•  TabLayout remains pinned to the top of the screen while
Toolbar view collapses.
•  includes a layout with CardView views
<android.support.design.widget.CoordinatorLayout	
  
android:layout_height="match_parent"	
  
	
  	
  	
  	
  android:layout_width="match_parent">	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  
	
  	
  	
  	
  	
  
	
  	
  	
  	
  <android.support.design.widget.AppBarLayout	
  
android:layout_width="match_parent"	
  
	
  	
  	
  	
  	
  	
  	
  	
  android:layout_height="wrap_content”>	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  
	
  	
  	
  	
  	
  	
  	
  	
  <android.support.v7.widget.Toolbar	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  android:layout_width="match_parent"	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  android:layout_height="?a1r/ac,onBarSize"	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  android:background="?a1r/colorPrimary"	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  app:layout_scrollFlags="scroll|enterAlways"/>	
  
	
  	
  	
  	
  	
  
	
  	
  	
  	
  </android.support.design.widget.AppBarLayout>	
  
	
  	
  	
  	
  	
  
	
  	
  	
  	
  	
  <!-­‐-­‐	
  Your	
  Scrollable	
  View	
  -­‐-­‐>	
  
	
  	
  	
  	
  ………………	
  
	
  	
  	
  	
  	
  
	
  	
  	
  	
  <android.support.design.widget.Floa,ngAc,onBu1on	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  android:layout_width="wrap_content"	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  android:layout_height="wrap_content"	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  android:src="@drawable/ic_ac,on_loca,on_found"	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  android:layout_marginBo1om="20dp"	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  android:layout_marginRight="20dp"	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  android:layout_gravity="bo1om|right"	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  app:fabSize="normal"	
  />	
  
	
  	
  	
  	
  	
  
</android.support.design.widget.CoordinatorLayout>	
  
CoordinatorLayout with FloatingActionButton &
Snackbar
CoordinatorLayout with AppBarLayout & TabLayout
CoordinatorLayout with AppBarLayout & TabLayout
CollapsingToolbarLayout
•  CollapsingToolbarLayout to ensure that
the Toolbar itself remains pinned to the
top of the screen while the view collapses.
•  Toolbar title will automatically appear
larger when the layout is fully visible, then
transition to its default size as it is
collapsed.
CollapsingToolbarLayout
CollapsingToolbarLayout
Navigation View
Navigation View
•  NavigationView makes adding navigation drawer to your app easier
than before.
•  You can inflate your navigation items through a menu resource.
•  NavigationView should go inside DrawerLayout.
•  app:headerLayout attribute controls the (optional) layout used for the
header.
•  app:menu attribute is the menu resource for the navigation items
(which can also be updated at runtime).
Navigation View
Navigation View
Android Design Support Library
References
•  Google Design http://www.google.com/design/
•  Android Developers Blog
http://android-developers.blogspot.com/
2015/05/android-design-support-library.html
•  HMKCode
http://hmkcode.com/material-design-app-
android-design-support-library-appcompat/
Topic: Android Design Support Library
Ibnu Sina Wardy
Google Dev Expert (ID): Android
ibnu.wardy@gmail.com
Terima Kasih.
Ad

More Related Content

What's hot (20)

01 09 - graphical user interface - basic widgets
01  09 - graphical user interface - basic widgets01  09 - graphical user interface - basic widgets
01 09 - graphical user interface - basic widgets
Siva Kumar reddy Vasipally
 
Chapter 10 - Views Part 2
Chapter 10 - Views Part 2Chapter 10 - Views Part 2
Chapter 10 - Views Part 2
Sittiphol Phanvilai
 
Hierarchy viewer
Hierarchy viewerHierarchy viewer
Hierarchy viewer
Badrinath Kulkarni
 
01 08 - graphical user interface - layouts
01  08 - graphical user interface - layouts01  08 - graphical user interface - layouts
01 08 - graphical user interface - layouts
Siva Kumar reddy Vasipally
 
12. Android Basic Google Map
12. Android Basic Google Map12. Android Basic Google Map
12. Android Basic Google Map
Oum Saokosal
 
Advance Android application development workshop day 2
Advance Android application development workshop day 2Advance Android application development workshop day 2
Advance Android application development workshop day 2
cresco
 
Android layouts
Android layoutsAndroid layouts
Android layouts
Jeffrey Quevedo
 
Basic Android Layout
Basic Android LayoutBasic Android Layout
Basic Android Layout
Bayu Firmawan Paoh
 
2011 08-24 mobile web app
2011 08-24  mobile web app2011 08-24  mobile web app
2011 08-24 mobile web app
Sholto Maud
 
Desenvolver para Chromecast
Desenvolver para ChromecastDesenvolver para Chromecast
Desenvolver para Chromecast
Pedro Veloso
 
Android Layout
Android LayoutAndroid Layout
Android Layout
mcanotes
 
Android Widget
Android WidgetAndroid Widget
Android Widget
ELLURU Kalyan
 
Android best practices
Android best practicesAndroid best practices
Android best practices
Jose Manuel Ortega Candel
 
Google Maps in Android
Google Maps in AndroidGoogle Maps in Android
Google Maps in Android
Mobile 2.0 Europe
 
4.preference management
4.preference management 4.preference management
4.preference management
maamir farooq
 
10 asp.net session14
10 asp.net session1410 asp.net session14
10 asp.net session14
Vivek Singh Chandel
 
Activity
ActivityActivity
Activity
Michael Pan
 
04 user interfaces
04 user interfaces04 user interfaces
04 user interfaces
C.o. Nieto
 
Designing and implementing_android_uis_for_phones_and_tablets
Designing and implementing_android_uis_for_phones_and_tabletsDesigning and implementing_android_uis_for_phones_and_tablets
Designing and implementing_android_uis_for_phones_and_tablets
Teddy Koornia
 
Android development session 3 - layout
Android development   session 3 - layoutAndroid development   session 3 - layout
Android development session 3 - layout
Farabi Technology Middle East
 
01 09 - graphical user interface - basic widgets
01  09 - graphical user interface - basic widgets01  09 - graphical user interface - basic widgets
01 09 - graphical user interface - basic widgets
Siva Kumar reddy Vasipally
 
12. Android Basic Google Map
12. Android Basic Google Map12. Android Basic Google Map
12. Android Basic Google Map
Oum Saokosal
 
Advance Android application development workshop day 2
Advance Android application development workshop day 2Advance Android application development workshop day 2
Advance Android application development workshop day 2
cresco
 
2011 08-24 mobile web app
2011 08-24  mobile web app2011 08-24  mobile web app
2011 08-24 mobile web app
Sholto Maud
 
Desenvolver para Chromecast
Desenvolver para ChromecastDesenvolver para Chromecast
Desenvolver para Chromecast
Pedro Veloso
 
Android Layout
Android LayoutAndroid Layout
Android Layout
mcanotes
 
4.preference management
4.preference management 4.preference management
4.preference management
maamir farooq
 
04 user interfaces
04 user interfaces04 user interfaces
04 user interfaces
C.o. Nieto
 
Designing and implementing_android_uis_for_phones_and_tablets
Designing and implementing_android_uis_for_phones_and_tabletsDesigning and implementing_android_uis_for_phones_and_tablets
Designing and implementing_android_uis_for_phones_and_tablets
Teddy Koornia
 

Similar to Android Design Support Library (20)

EIA 2015 Creating Apps with Android Material Design
EIA 2015 Creating Apps with Android Material DesignEIA 2015 Creating Apps with Android Material Design
EIA 2015 Creating Apps with Android Material Design
European Innovation Academy
 
App_development33333333333333333333.pptx
App_development33333333333333333333.pptxApp_development33333333333333333333.pptx
App_development33333333333333333333.pptx
sameehamoogab
 
Migrating a large scale banking app to compose
Migrating a large scale banking app to composeMigrating a large scale banking app to compose
Migrating a large scale banking app to compose
Fatih Giris
 
User experience and interactions design
User experience and interactions design User experience and interactions design
User experience and interactions design
Rakesh Jha
 
06 UI Layout
06 UI Layout06 UI Layout
06 UI Layout
Sokngim Sa
 
Prototyping + User Journeys
Prototyping + User JourneysPrototyping + User Journeys
Prototyping + User Journeys
Fitri Farina Mahat
 
Application Development - Overview on Android OS
Application Development - Overview on Android OSApplication Development - Overview on Android OS
Application Development - Overview on Android OS
Pankaj Maheshwari
 
Getting Started With Material Design
Getting Started With Material DesignGetting Started With Material Design
Getting Started With Material Design
Yasin Yildirim
 
android layouts
android layoutsandroid layouts
android layouts
Deepa Rani
 
Lecture 5 _ Building Layouts (1).pptx
Lecture 5 _ Building Layouts (1).pptxLecture 5 _ Building Layouts (1).pptx
Lecture 5 _ Building Layouts (1).pptx
ssuser0ee7de1
 
Android JetPack: easy navigation with the new Navigation Controller
Android JetPack: easy navigation with the new Navigation ControllerAndroid JetPack: easy navigation with the new Navigation Controller
Android JetPack: easy navigation with the new Navigation Controller
Leonardo Pirro
 
Ui 5
Ui   5Ui   5
Ui 5
Michael Shrove
 
Android ActionBar Navigation reloaded
Android ActionBar Navigation reloadedAndroid ActionBar Navigation reloaded
Android ActionBar Navigation reloaded
Dominik Helleberg
 
03.Controls in Windows Phone
03.Controls in Windows Phone03.Controls in Windows Phone
03.Controls in Windows Phone
Nguyen Tuan
 
Android ui patterns
Android ui patternsAndroid ui patterns
Android ui patterns
vpulec
 
Android ui patterns
Android ui patternsAndroid ui patterns
Android ui patterns
Mobile March
 
Fragments: Why, How, What For?
Fragments: Why, How, What For?Fragments: Why, How, What For?
Fragments: Why, How, What For?
Brenda Cook
 
Make your app dance with MotionLayout
Make your app dance with MotionLayoutMake your app dance with MotionLayout
Make your app dance with MotionLayout
timmy80713
 
Android Erası 2 - UI və layoutlar
Android Erası 2 - UI və layoutlarAndroid Erası 2 - UI və layoutlar
Android Erası 2 - UI və layoutlar
Orkhan Ahmadov
 
Android programming basics
Android programming basicsAndroid programming basics
Android programming basics
Egerton University
 
EIA 2015 Creating Apps with Android Material Design
EIA 2015 Creating Apps with Android Material DesignEIA 2015 Creating Apps with Android Material Design
EIA 2015 Creating Apps with Android Material Design
European Innovation Academy
 
App_development33333333333333333333.pptx
App_development33333333333333333333.pptxApp_development33333333333333333333.pptx
App_development33333333333333333333.pptx
sameehamoogab
 
Migrating a large scale banking app to compose
Migrating a large scale banking app to composeMigrating a large scale banking app to compose
Migrating a large scale banking app to compose
Fatih Giris
 
User experience and interactions design
User experience and interactions design User experience and interactions design
User experience and interactions design
Rakesh Jha
 
Application Development - Overview on Android OS
Application Development - Overview on Android OSApplication Development - Overview on Android OS
Application Development - Overview on Android OS
Pankaj Maheshwari
 
Getting Started With Material Design
Getting Started With Material DesignGetting Started With Material Design
Getting Started With Material Design
Yasin Yildirim
 
android layouts
android layoutsandroid layouts
android layouts
Deepa Rani
 
Lecture 5 _ Building Layouts (1).pptx
Lecture 5 _ Building Layouts (1).pptxLecture 5 _ Building Layouts (1).pptx
Lecture 5 _ Building Layouts (1).pptx
ssuser0ee7de1
 
Android JetPack: easy navigation with the new Navigation Controller
Android JetPack: easy navigation with the new Navigation ControllerAndroid JetPack: easy navigation with the new Navigation Controller
Android JetPack: easy navigation with the new Navigation Controller
Leonardo Pirro
 
Android ActionBar Navigation reloaded
Android ActionBar Navigation reloadedAndroid ActionBar Navigation reloaded
Android ActionBar Navigation reloaded
Dominik Helleberg
 
03.Controls in Windows Phone
03.Controls in Windows Phone03.Controls in Windows Phone
03.Controls in Windows Phone
Nguyen Tuan
 
Android ui patterns
Android ui patternsAndroid ui patterns
Android ui patterns
vpulec
 
Android ui patterns
Android ui patternsAndroid ui patterns
Android ui patterns
Mobile March
 
Fragments: Why, How, What For?
Fragments: Why, How, What For?Fragments: Why, How, What For?
Fragments: Why, How, What For?
Brenda Cook
 
Make your app dance with MotionLayout
Make your app dance with MotionLayoutMake your app dance with MotionLayout
Make your app dance with MotionLayout
timmy80713
 
Android Erası 2 - UI və layoutlar
Android Erası 2 - UI və layoutlarAndroid Erası 2 - UI və layoutlar
Android Erası 2 - UI və layoutlar
Orkhan Ahmadov
 
Ad

Recently uploaded (20)

Image processinglab image processing image processing
Image processinglab image processing  image processingImage processinglab image processing  image processing
Image processinglab image processing image processing
RaghadHany
 
"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko
Fwdays
 
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5..."Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
Fwdays
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Automation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From AnywhereAutomation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From Anywhere
Lynda Kane
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.
gregtap1
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
Leading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael JidaelLeading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael Jidael
Michael Jidael
 
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
Lynda Kane
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Image processinglab image processing image processing
Image processinglab image processing  image processingImage processinglab image processing  image processing
Image processinglab image processing image processing
RaghadHany
 
"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko
Fwdays
 
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5..."Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
"Client Partnership — the Path to Exponential Growth for Companies Sized 50-5...
Fwdays
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Automation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From AnywhereAutomation Dreamin': Capture User Feedback From Anywhere
Automation Dreamin': Capture User Feedback From Anywhere
Lynda Kane
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.Network Security. Different aspects of Network Security.
Network Security. Different aspects of Network Security.
gregtap1
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
Leading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael JidaelLeading AI Innovation As A Product Manager - Michael Jidael
Leading AI Innovation As A Product Manager - Michael Jidael
Michael Jidael
 
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
#AdminHour presents: Hour of Code2018 slide deck from 12/6/2018
Lynda Kane
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Ad

Android Design Support Library

  • 1. Android Design Support Library Ibnu Sina Wardy Google Dev Expert: Android
  • 2. About  Me   Ibnu Sina Wardy Google Developer Expert, Android CEO of PT GITS Indonesia (gits.co.id)
  • 3. Ibnu Sina Wardy Google Developer Expert, Android CEO of PT GITS Indonesia Floating Action Button Text Input Layout Snackbar Tab Progress: 1% Coordinator Layout Navigation View
  • 6. Floating Action Button Floating action button redlines Mini floating action button redlines
  • 7. Floa,ng  Ac,on  Bu1on   •  Round button for a primary action on your interface •  The color of this button is set in colorAccent from your theme.
  • 10. Floating Label When the user engages with the text input field, the floating inline labels move to float above the field.
  • 14. Snackbar Providing lightweight, quick feedback about an operation Snackbars are shown on the bottom of the screen and contain text with an optional single action Users can swipe them away before the timeout They automatically time out after the given time length by animating off the screen.
  • 17. Tabs
  • 18. Tabs •  Implements both fixed tabs as well as scrollable tabs •  Tabs can be added programmatically.
  • 19. Tabs
  • 22. Coordinator Layout provides additional level of control over touch events between child views.
  • 23. CoordinatorLayout with FloatingActionButton & Snackbar •  CoordinatorLayout resolve the issue of snackbar displaying over the FloatingActionButton. •  FloatingActionButton automatically moves upward as the snackbar animates in and returns to its position when the snackbar hides. •  CoordinatorLayout enables user to swipe snackbar away before the timeout.
  • 25. CoordinatorLayout with AppBarLayout •  AppBarLayout allows your Toolbar and other views (such as tabs provided by TabLayout) to react to scroll events in a sibling view. •  the AppBarLayout can respond to those events by using the children’s scroll flags. •  Toolbar reacts to scroll events in a sibling view app:layout_scrollFlags="scroll|enterAlways" •  TabLayout remains pinned to the top of the screen while Toolbar view collapses. •  includes a layout with CardView views
  • 26. <android.support.design.widget.CoordinatorLayout   android:layout_height="match_parent"          android:layout_width="match_parent">                                      <android.support.design.widget.AppBarLayout   android:layout_width="match_parent"                  android:layout_height="wrap_content”>                                        <android.support.v7.widget.Toolbar                        android:layout_width="match_parent"                          android:layout_height="?a1r/ac,onBarSize"                          android:background="?a1r/colorPrimary"                          app:layout_scrollFlags="scroll|enterAlways"/>                    </android.support.design.widget.AppBarLayout>                      <!-­‐-­‐  Your  Scrollable  View  -­‐-­‐>          ………………                    <android.support.design.widget.Floa,ngAc,onBu1on                          android:layout_width="wrap_content"                          android:layout_height="wrap_content"                          android:src="@drawable/ic_ac,on_loca,on_found"                          android:layout_marginBo1om="20dp"                          android:layout_marginRight="20dp"                          android:layout_gravity="bo1om|right"                          app:fabSize="normal"  />             </android.support.design.widget.CoordinatorLayout>   CoordinatorLayout with FloatingActionButton & Snackbar
  • 29. CollapsingToolbarLayout •  CollapsingToolbarLayout to ensure that the Toolbar itself remains pinned to the top of the screen while the view collapses. •  Toolbar title will automatically appear larger when the layout is fully visible, then transition to its default size as it is collapsed.
  • 33. Navigation View •  NavigationView makes adding navigation drawer to your app easier than before. •  You can inflate your navigation items through a menu resource. •  NavigationView should go inside DrawerLayout. •  app:headerLayout attribute controls the (optional) layout used for the header. •  app:menu attribute is the menu resource for the navigation items (which can also be updated at runtime).
  • 37. References •  Google Design http://www.google.com/design/ •  Android Developers Blog http://android-developers.blogspot.com/ 2015/05/android-design-support-library.html •  HMKCode http://hmkcode.com/material-design-app- android-design-support-library-appcompat/
  • 38. Topic: Android Design Support Library Ibnu Sina Wardy Google Dev Expert (ID): Android [email protected] Terima Kasih.