SlideShare a Scribd company logo
@scruffyfoxLesson 6 – https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6
Android
Lesson 6 by Callum Taylor
@scruffyfoxLesson 6 – https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6
Introduction
• All code and presentation slides can be
found over at
https://github.com/scruffyfox/AndroidCours
e
• Twitter/app.net/github: @scruffyfox
• http://(blog.)callumtaylor.net
@scruffyfoxLesson 6 – https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6
Introduction
https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6
@scruffyfoxLesson 6 – https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6
What we’re going to make
@scruffyfoxLesson 6 – https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6
What we’re going to make
• Styling
• Exporting
@scruffyfoxLesson 6 – https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6
Styling
@style/StyleName
@scruffyfoxLesson 6 – https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6
Styling
@scruffyfoxLesson 6 – https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6
Styling
@scruffyfoxLesson 6 – https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6
Hierarchy
AppTheme
ActionBarStyle
background titleTextStyle
background textColor textSize
referencedrawable/color
drawable/color drawable/color dimension

More Related Content

What's hot

What's hot (20)

Git and GitHub for RallyOn
Git and GitHub for RallyOnGit and GitHub for RallyOn
Git and GitHub for RallyOn
 
DroidKaigi 2018報告会(公式アプリへのコントリビュート)
DroidKaigi 2018報告会(公式アプリへのコントリビュート)DroidKaigi 2018報告会(公式アプリへのコントリビュート)
DroidKaigi 2018報告会(公式アプリへのコントリビュート)
 
Candies for everybody: Hacking from 9 to 6
Candies for everybody: Hacking from 9 to 6Candies for everybody: Hacking from 9 to 6
Candies for everybody: Hacking from 9 to 6
 
Grpc and asp.net partie 2
Grpc and asp.net partie 2Grpc and asp.net partie 2
Grpc and asp.net partie 2
 
Protractor under the hood
Protractor under the hoodProtractor under the hood
Protractor under the hood
 
TapIntoTwitter NYC June 2019 - Twitter Developer Labs
TapIntoTwitter NYC June 2019 - Twitter Developer LabsTapIntoTwitter NYC June 2019 - Twitter Developer Labs
TapIntoTwitter NYC June 2019 - Twitter Developer Labs
 
082315 Rufran's T-shirt Print Designs Part 2
082315 Rufran's T-shirt Print Designs Part 2082315 Rufran's T-shirt Print Designs Part 2
082315 Rufran's T-shirt Print Designs Part 2
 
Top 10 programming langauges crossed decades
Top 10 programming langauges crossed decadesTop 10 programming langauges crossed decades
Top 10 programming langauges crossed decades
 
How I solved my NYC parking problem with Python
How I solved my NYC parking problem with PythonHow I solved my NYC parking problem with Python
How I solved my NYC parking problem with Python
 
JavaScript and Internet Controlled Hardware Prototyping
JavaScript and Internet Controlled Hardware PrototypingJavaScript and Internet Controlled Hardware Prototyping
JavaScript and Internet Controlled Hardware Prototyping
 
ReviewNinja OSCON
ReviewNinja OSCONReviewNinja OSCON
ReviewNinja OSCON
 
Awesome Git Workflow for Agencies and Teams
Awesome Git Workflow for Agencies and TeamsAwesome Git Workflow for Agencies and Teams
Awesome Git Workflow for Agencies and Teams
 
Running episerver cms in the cloud
Running episerver cms in the cloudRunning episerver cms in the cloud
Running episerver cms in the cloud
 
Part 4 of Git, Illuminated
Part 4 of Git, IlluminatedPart 4 of Git, Illuminated
Part 4 of Git, Illuminated
 
G*Magazineを読もう
G*Magazineを読もうG*Magazineを読もう
G*Magazineを読もう
 
Getting To Know Git
Getting To Know GitGetting To Know Git
Getting To Know Git
 
Continuous Integration With Windows Azure Pack
Continuous Integration With Windows Azure PackContinuous Integration With Windows Azure Pack
Continuous Integration With Windows Azure Pack
 
Open Source codes of trajectory prediction & behavior planning
Open Source codes of trajectory prediction & behavior planningOpen Source codes of trajectory prediction & behavior planning
Open Source codes of trajectory prediction & behavior planning
 
@Ajug #hangout #q&a app
@Ajug #hangout #q&a app@Ajug #hangout #q&a app
@Ajug #hangout #q&a app
 
Github integration-kostyasha
Github integration-kostyashaGithub integration-kostyasha
Github integration-kostyasha
 

Viewers also liked

1 dimensions and units
1 dimensions and units1 dimensions and units
1 dimensions and units
Yusri Yusup
 

Viewers also liked (20)

Android Lesson 2
Android Lesson 2Android Lesson 2
Android Lesson 2
 
Android Development Course in HSE lecture #2
Android Development Course in HSE lecture #2Android Development Course in HSE lecture #2
Android Development Course in HSE lecture #2
 
Designing For Android
Designing For AndroidDesigning For Android
Designing For Android
 
Developing and Designing Multiscreen Android apps
Developing and Designing Multiscreen Android appsDeveloping and Designing Multiscreen Android apps
Developing and Designing Multiscreen Android apps
 
Designing for android
Designing for androidDesigning for android
Designing for android
 
Supporting multiple screens on android
Supporting multiple screens on androidSupporting multiple screens on android
Supporting multiple screens on android
 
Introduction to Android Development with Java
Introduction to Android Development with JavaIntroduction to Android Development with Java
Introduction to Android Development with Java
 
Chapter 8 - Dimension Units
Chapter 8 - Dimension UnitsChapter 8 - Dimension Units
Chapter 8 - Dimension Units
 
1 dimensions and units
1 dimensions and units1 dimensions and units
1 dimensions and units
 
Android ppt
Android pptAndroid ppt
Android ppt
 
Why you should invest in Mobile Apps Development?
Why you should invest in Mobile Apps Development?Why you should invest in Mobile Apps Development?
Why you should invest in Mobile Apps Development?
 
Android app development lesson 1
Android app development lesson 1Android app development lesson 1
Android app development lesson 1
 
Android development beginners faq
Android development  beginners faqAndroid development  beginners faq
Android development beginners faq
 
Android Course - Lesson3
Android Course - Lesson3Android Course - Lesson3
Android Course - Lesson3
 
A beginner’s guide to using an android phone
A beginner’s guide to using an android phoneA beginner’s guide to using an android phone
A beginner’s guide to using an android phone
 
Coding for life (public)
Coding for life (public)Coding for life (public)
Coding for life (public)
 
Android beginner presentation
Android beginner presentationAndroid beginner presentation
Android beginner presentation
 
Presentación coca cola
Presentación coca colaPresentación coca cola
Presentación coca cola
 
Getting Started With Android
Getting Started With AndroidGetting Started With Android
Getting Started With Android
 
Android Workshop beginner
Android Workshop beginnerAndroid Workshop beginner
Android Workshop beginner
 

Similar to Android Course - Lesson6

Start! ATS programming
Start! ATS programmingStart! ATS programming
Start! ATS programming
Kiwamu Okabe
 
그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기
그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기
그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기
Jeongkyu Shin
 

Similar to Android Course - Lesson6 (20)

With a little help from my friends: Handy MongoDB Tools
With a little help from my friends: Handy MongoDB ToolsWith a little help from my friends: Handy MongoDB Tools
With a little help from my friends: Handy MongoDB Tools
 
Start! ATS programming
Start! ATS programmingStart! ATS programming
Start! ATS programming
 
Continuous Integration for Pharo Smalltalk Part 2 (Smalltalk and Travis CI)
Continuous Integration for Pharo Smalltalk Part 2 (Smalltalk and Travis CI)Continuous Integration for Pharo Smalltalk Part 2 (Smalltalk and Travis CI)
Continuous Integration for Pharo Smalltalk Part 2 (Smalltalk and Travis CI)
 
Artem Denysov "Easy ways to speed up your web application"
Artem Denysov "Easy ways to speed up your web application"Artem Denysov "Easy ways to speed up your web application"
Artem Denysov "Easy ways to speed up your web application"
 
Groovy Update, what's new in Groovy 1.8 and beyond - Guillaume Laforge - Spri...
Groovy Update, what's new in Groovy 1.8 and beyond - Guillaume Laforge - Spri...Groovy Update, what's new in Groovy 1.8 and beyond - Guillaume Laforge - Spri...
Groovy Update, what's new in Groovy 1.8 and beyond - Guillaume Laforge - Spri...
 
Groovy Update - Guillaume Laforge - Greach 2011
Groovy Update - Guillaume Laforge - Greach 2011Groovy Update - Guillaume Laforge - Greach 2011
Groovy Update - Guillaume Laforge - Greach 2011
 
Riding on rails3 with full stack of gems
Riding on rails3 with full stack of gemsRiding on rails3 with full stack of gems
Riding on rails3 with full stack of gems
 
Angular 1.X Community and API Decissions
Angular 1.X Community and API DecissionsAngular 1.X Community and API Decissions
Angular 1.X Community and API Decissions
 
How I become Go GDE
How I become Go GDEHow I become Go GDE
How I become Go GDE
 
Data Structures for Text Editors
Data Structures for Text EditorsData Structures for Text Editors
Data Structures for Text Editors
 
Framer meetup july 2017
Framer meetup july 2017Framer meetup july 2017
Framer meetup july 2017
 
リバースプロキシで webサーバを集約 ついでにdocker化しよう
リバースプロキシでwebサーバを集約ついでにdocker化しようリバースプロキシでwebサーバを集約ついでにdocker化しよう
リバースプロキシで webサーバを集約 ついでにdocker化しよう
 
Origins of Serverless
Origins of ServerlessOrigins of Serverless
Origins of Serverless
 
Git tutorial for CS320 Students
Git tutorial for CS320 StudentsGit tutorial for CS320 Students
Git tutorial for CS320 Students
 
GitGot: The Swiss Army Chainsaw of Git Repo Management
GitGot: The Swiss Army Chainsaw of Git Repo ManagementGitGot: The Swiss Army Chainsaw of Git Repo Management
GitGot: The Swiss Army Chainsaw of Git Repo Management
 
Qr Codes in the Classroom
Qr Codes in the ClassroomQr Codes in the Classroom
Qr Codes in the Classroom
 
11 CLI tools every developer should know | DevNation Tech Talk
11 CLI tools every developer should know | DevNation Tech Talk11 CLI tools every developer should know | DevNation Tech Talk
11 CLI tools every developer should know | DevNation Tech Talk
 
Minou Minou ! Les chat(bot)s continuent leur invasion de l'INTERNET
Minou Minou ! Les chat(bot)s continuent leur invasion de l'INTERNETMinou Minou ! Les chat(bot)s continuent leur invasion de l'INTERNET
Minou Minou ! Les chat(bot)s continuent leur invasion de l'INTERNET
 
그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기
그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기
그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기
 
WordPress Miami Meetup: Top 9 (August 2015)
WordPress Miami Meetup: Top 9 (August 2015)WordPress Miami Meetup: Top 9 (August 2015)
WordPress Miami Meetup: Top 9 (August 2015)
 

Recently uploaded

plant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated cropsplant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated crops
parmarsneha2
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 

Recently uploaded (20)

Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...
Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...
Extraction Of Natural Dye From Beetroot (Beta Vulgaris) And Preparation Of He...
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
plant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated cropsplant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated crops
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxStudents, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptx
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 

Android Course - Lesson6

  • 1. @scruffyfoxLesson 6 – https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6 Android Lesson 6 by Callum Taylor
  • 2. @scruffyfoxLesson 6 – https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6 Introduction • All code and presentation slides can be found over at https://github.com/scruffyfox/AndroidCours e • Twitter/app.net/github: @scruffyfox • http://(blog.)callumtaylor.net
  • 3. @scruffyfoxLesson 6 – https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6 Introduction https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6
  • 4. @scruffyfoxLesson 6 – https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6 What we’re going to make
  • 5. @scruffyfoxLesson 6 – https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6 What we’re going to make • Styling • Exporting
  • 6. @scruffyfoxLesson 6 – https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6 Styling @style/StyleName
  • 7. @scruffyfoxLesson 6 – https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6 Styling
  • 8. @scruffyfoxLesson 6 – https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6 Styling
  • 9. @scruffyfoxLesson 6 – https://github.com/scruffyfox/AndroidCourse/tree/Lesson-6 Hierarchy AppTheme ActionBarStyle background titleTextStyle background textColor textSize referencedrawable/color drawable/color drawable/color dimension

Editor's Notes

  1. This is what we’re going to make today
  2. This is what we’re going to make today
  3. Styles are another form of resources that you can provide to your activies and views, similarly to how css is used to style html pages.
  4. By default in your application you will have a default theme in your res/styles.xml file called “AppTheme”You can see that there are 2 properties, a “name” and a “parent”Name is self explanitory, but parent is a theme that you can override, in this case we’re overriding the Dark Action bar style.So far you have seen something like @android:id/ in this case its just using “android:”, but using “@android:style/” will still work.
  5. This theme is applied to all of our activities by being set in the application node. You can set a specific theme for a specific activity by moving it to the activity node.