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
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.

More Related Content

What's hot

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 chan
 
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
 

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
 
Chapter 10 - Views Part 2
Chapter 10 - Views Part 2Chapter 10 - Views Part 2
Chapter 10 - Views Part 2
 
Hierarchy viewer
Hierarchy viewerHierarchy viewer
Hierarchy viewer
 
01 08 - graphical user interface - layouts
01  08 - graphical user interface - layouts01  08 - graphical user interface - layouts
01 08 - graphical user interface - layouts
 
12. Android Basic Google Map
12. Android Basic Google Map12. Android Basic Google Map
12. Android Basic Google Map
 
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
 
Android layouts
Android layoutsAndroid layouts
Android layouts
 
Basic Android Layout
Basic Android LayoutBasic Android Layout
Basic Android Layout
 
2011 08-24 mobile web app
2011 08-24  mobile web app2011 08-24  mobile web app
2011 08-24 mobile web app
 
Desenvolver para Chromecast
Desenvolver para ChromecastDesenvolver para Chromecast
Desenvolver para Chromecast
 
Android Layout
Android LayoutAndroid Layout
Android Layout
 
Android Widget
Android WidgetAndroid Widget
Android Widget
 
Android best practices
Android best practicesAndroid best practices
Android best practices
 
Google Maps in Android
Google Maps in AndroidGoogle Maps in Android
Google Maps in Android
 
4.preference management
4.preference management 4.preference management
4.preference management
 
10 asp.net session14
10 asp.net session1410 asp.net session14
10 asp.net session14
 
Activity
ActivityActivity
Activity
 
04 user interfaces
04 user interfaces04 user interfaces
04 user interfaces
 
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
 
Android development session 3 - layout
Android development   session 3 - layoutAndroid development   session 3 - layout
Android development session 3 - layout
 

Similar to Android Design Support Library

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
 
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 layoutsDeepa 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ə layoutlarOrkhan Ahmadov
 
Android programming basics
Android programming basicsAndroid programming basics
Android programming basics
Egerton University
 
WMP_MP02_revd(10092023).pptx
WMP_MP02_revd(10092023).pptxWMP_MP02_revd(10092023).pptx
WMP_MP02_revd(10092023).pptx
fahmi324663
 

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
 
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
 
User experience and interactions design
User experience and interactions design User experience and interactions design
User experience and interactions design
 
06 UI Layout
06 UI Layout06 UI Layout
06 UI Layout
 
Prototyping + User Journeys
Prototyping + User JourneysPrototyping + User Journeys
Prototyping + User Journeys
 
Application Development - Overview on Android OS
Application Development - Overview on Android OSApplication Development - Overview on Android OS
Application Development - Overview on Android OS
 
Getting Started With Material Design
Getting Started With Material DesignGetting Started With Material Design
Getting Started With Material Design
 
android layouts
android layoutsandroid layouts
android layouts
 
Lecture 5 _ Building Layouts (1).pptx
Lecture 5 _ Building Layouts (1).pptxLecture 5 _ Building Layouts (1).pptx
Lecture 5 _ Building Layouts (1).pptx
 
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
 
Ui 5
Ui   5Ui   5
Ui 5
 
Android ActionBar Navigation reloaded
Android ActionBar Navigation reloadedAndroid ActionBar Navigation reloaded
Android ActionBar Navigation reloaded
 
03.Controls in Windows Phone
03.Controls in Windows Phone03.Controls in Windows Phone
03.Controls in Windows Phone
 
Android ui patterns
Android ui patternsAndroid ui patterns
Android ui patterns
 
Android ui patterns
Android ui patternsAndroid ui patterns
Android ui patterns
 
Fragments: Why, How, What For?
Fragments: Why, How, What For?Fragments: Why, How, What For?
Fragments: Why, How, What For?
 
Make your app dance with MotionLayout
Make your app dance with MotionLayoutMake your app dance with MotionLayout
Make your app dance with MotionLayout
 
Android Erası 2 - UI və layoutlar
Android Erası 2 - UI və layoutlarAndroid Erası 2 - UI və layoutlar
Android Erası 2 - UI və layoutlar
 
Android programming basics
Android programming basicsAndroid programming basics
Android programming basics
 
WMP_MP02_revd(10092023).pptx
WMP_MP02_revd(10092023).pptxWMP_MP02_revd(10092023).pptx
WMP_MP02_revd(10092023).pptx
 

Recently uploaded

From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 

Recently uploaded (20)

From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 

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).
  • 36.
  • 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 ibnu.wardy@gmail.com Terima Kasih.