Soumettre la recherche
Mettre en ligne
TDC2012 Android - Deixando Sua Interface mais Bonita com Shapes
•
Télécharger en tant que PPTX, PDF
•
3 j'aime
•
1,991 vues
Suelen Carvalho
Suivre
Minha apresentação no TDC2012 na trilha de Android.
Lire moins
Lire la suite
Technologie
Formation
Signaler
Partager
Signaler
Partager
1 sur 32
Télécharger maintenant
Recommandé
O sucesso do seu app está nos detalhes!
O sucesso do seu app está nos detalhes!
Suelen Carvalho
App inventor
App inventor
Marco Forte
PreDevCamp San Diego slides
PreDevCamp San Diego slides
David Horn
How to validate your products swiftly with rapid prototyping slides
How to validate your products swiftly with rapid prototyping slides
Nearsoft
QConSP 2012 - SOLID em 5 minutos
QConSP 2012 - SOLID em 5 minutos
Suelen Carvalho
Fernando F. Gallego - Efficient Android Resources 101
Fernando F. Gallego - Efficient Android Resources 101
Fernando Gallego
Android material design lecture #2
Android material design lecture #2
Vitali Pekelis
phonegap with angular js for freshers
phonegap with angular js for freshers
dssprakash
Recommandé
O sucesso do seu app está nos detalhes!
O sucesso do seu app está nos detalhes!
Suelen Carvalho
App inventor
App inventor
Marco Forte
PreDevCamp San Diego slides
PreDevCamp San Diego slides
David Horn
How to validate your products swiftly with rapid prototyping slides
How to validate your products swiftly with rapid prototyping slides
Nearsoft
QConSP 2012 - SOLID em 5 minutos
QConSP 2012 - SOLID em 5 minutos
Suelen Carvalho
Fernando F. Gallego - Efficient Android Resources 101
Fernando F. Gallego - Efficient Android Resources 101
Fernando Gallego
Android material design lecture #2
Android material design lecture #2
Vitali Pekelis
phonegap with angular js for freshers
phonegap with angular js for freshers
dssprakash
Intro to PhoneGap and PhoneGap Build
Intro to PhoneGap and PhoneGap Build
Chris Griffith
Android Workshop
Android Workshop
Junda Ong
Designing and implementing_android_uis_for_phones_and_tablets
Designing and implementing_android_uis_for_phones_and_tablets
Teddy Koornia
Chapter 5 - Layouts
Chapter 5 - Layouts
Sittiphol Phanvilai
viWave Study Group - Introduction to Google Android Development - Chapter 23 ...
viWave Study Group - Introduction to Google Android Development - Chapter 23 ...
Ted Chien
From Idea to App (or “How we roll at Small Town Heroes”)
From Idea to App (or “How we roll at Small Town Heroes”)
Bramus Van Damme
Android JetPack: easy navigation with the new Navigation Controller
Android JetPack: easy navigation with the new Navigation Controller
Leonardo Pirro
Android 2D Drawing and Animation Framework
Android 2D Drawing and Animation Framework
Jussi Pohjolainen
Marakana Android User Interface
Marakana Android User Interface
Marko Gargenta
android level 3
android level 3
DevMix
Phpforandroid en
Phpforandroid en
ivmos
Hierarchy viewer
Hierarchy viewer
Badrinath Kulkarni
Android Fragment-Awesome
Android Fragment-Awesome
GauntFace
Designing an App: From Idea to Market
Designing an App: From Idea to Market
EffectiveUI
Designing an Android App: From Idea to Market
Designing an Android App: From Idea to Market
Effective
Designing an Android App from Idea to Market
Designing an Android App from Idea to Market
Tony Hillerson
Android networking-2
Android networking-2
Aravindharamanan S
Session #7 rich and responsive layouts
Session #7 rich and responsive layouts
Vitali Pekelis
Introduction phonegap
Introduction phonegap
Rakesh Jha
Advanced programing in phonegap
Advanced programing in phonegap
Rakesh Jha
Porque Métodos Ágeis não é pra você!
Porque Métodos Ágeis não é pra você!
Suelen Carvalho
Scrum: Relembrando os por quês?
Scrum: Relembrando os por quês?
Suelen Carvalho
Contenu connexe
Similaire à TDC2012 Android - Deixando Sua Interface mais Bonita com Shapes
Intro to PhoneGap and PhoneGap Build
Intro to PhoneGap and PhoneGap Build
Chris Griffith
Android Workshop
Android Workshop
Junda Ong
Designing and implementing_android_uis_for_phones_and_tablets
Designing and implementing_android_uis_for_phones_and_tablets
Teddy Koornia
Chapter 5 - Layouts
Chapter 5 - Layouts
Sittiphol Phanvilai
viWave Study Group - Introduction to Google Android Development - Chapter 23 ...
viWave Study Group - Introduction to Google Android Development - Chapter 23 ...
Ted Chien
From Idea to App (or “How we roll at Small Town Heroes”)
From Idea to App (or “How we roll at Small Town Heroes”)
Bramus Van Damme
Android JetPack: easy navigation with the new Navigation Controller
Android JetPack: easy navigation with the new Navigation Controller
Leonardo Pirro
Android 2D Drawing and Animation Framework
Android 2D Drawing and Animation Framework
Jussi Pohjolainen
Marakana Android User Interface
Marakana Android User Interface
Marko Gargenta
android level 3
android level 3
DevMix
Phpforandroid en
Phpforandroid en
ivmos
Hierarchy viewer
Hierarchy viewer
Badrinath Kulkarni
Android Fragment-Awesome
Android Fragment-Awesome
GauntFace
Designing an App: From Idea to Market
Designing an App: From Idea to Market
EffectiveUI
Designing an Android App: From Idea to Market
Designing an Android App: From Idea to Market
Effective
Designing an Android App from Idea to Market
Designing an Android App from Idea to Market
Tony Hillerson
Android networking-2
Android networking-2
Aravindharamanan S
Session #7 rich and responsive layouts
Session #7 rich and responsive layouts
Vitali Pekelis
Introduction phonegap
Introduction phonegap
Rakesh Jha
Advanced programing in phonegap
Advanced programing in phonegap
Rakesh Jha
Similaire à TDC2012 Android - Deixando Sua Interface mais Bonita com Shapes
(20)
Intro to PhoneGap and PhoneGap Build
Intro to PhoneGap and PhoneGap Build
Android Workshop
Android Workshop
Designing and implementing_android_uis_for_phones_and_tablets
Designing and implementing_android_uis_for_phones_and_tablets
Chapter 5 - Layouts
Chapter 5 - Layouts
viWave Study Group - Introduction to Google Android Development - Chapter 23 ...
viWave Study Group - Introduction to Google Android Development - Chapter 23 ...
From Idea to App (or “How we roll at Small Town Heroes”)
From Idea to App (or “How we roll at Small Town Heroes”)
Android JetPack: easy navigation with the new Navigation Controller
Android JetPack: easy navigation with the new Navigation Controller
Android 2D Drawing and Animation Framework
Android 2D Drawing and Animation Framework
Marakana Android User Interface
Marakana Android User Interface
android level 3
android level 3
Phpforandroid en
Phpforandroid en
Hierarchy viewer
Hierarchy viewer
Android Fragment-Awesome
Android Fragment-Awesome
Designing an App: From Idea to Market
Designing an App: From Idea to Market
Designing an Android App: From Idea to Market
Designing an Android App: From Idea to Market
Designing an Android App from Idea to Market
Designing an Android App from Idea to Market
Android networking-2
Android networking-2
Session #7 rich and responsive layouts
Session #7 rich and responsive layouts
Introduction phonegap
Introduction phonegap
Advanced programing in phonegap
Advanced programing in phonegap
Plus de Suelen Carvalho
Porque Métodos Ágeis não é pra você!
Porque Métodos Ágeis não é pra você!
Suelen Carvalho
Scrum: Relembrando os por quês?
Scrum: Relembrando os por quês?
Suelen Carvalho
Techtrends xp desafios da agilidade com trabalho remoto
Techtrends xp desafios da agilidade com trabalho remoto
Suelen Carvalho
Introdução a Kotlin
Introdução a Kotlin
Suelen Carvalho
Introdução a Android Instant Apps
Introdução a Android Instant Apps
Suelen Carvalho
Google IO'17
Google IO'17
Suelen Carvalho
Construindo Times de Alta Performance - Produtos & Engenharia
Construindo Times de Alta Performance - Produtos & Engenharia
Suelen Carvalho
Git Merge e Rebase - The goal and differences
Git Merge e Rebase - The goal and differences
Suelen Carvalho
Dynamic Programming and Reinforcement Learning applied to Tetris Game
Dynamic Programming and Reinforcement Learning applied to Tetris Game
Suelen Carvalho
Desenvolvimento de Novos Líderes - Paidéia Educação
Desenvolvimento de Novos Líderes - Paidéia Educação
Suelen Carvalho
Go lang
Go lang
Suelen Carvalho
Supporting Coding and Testing
Supporting Coding and Testing
Suelen Carvalho
Intercon Android 2014 - Google Play In App Billing
Intercon Android 2014 - Google Play In App Billing
Suelen Carvalho
Semana da Computação USP São Carlos 2014 - Carreira Mobile
Semana da Computação USP São Carlos 2014 - Carreira Mobile
Suelen Carvalho
TDC 2014 - Tudo sobre GCM Push Notifications
TDC 2014 - Tudo sobre GCM Push Notifications
Suelen Carvalho
Mobile Conf 2014 - Sua carreira e o que o desenvolvimento mobile tem a ver co...
Mobile Conf 2014 - Sua carreira e o que o desenvolvimento mobile tem a ver co...
Suelen Carvalho
Conexao Java - Sua primeira app Android
Conexao Java - Sua primeira app Android
Suelen Carvalho
7 Masters sobre Android
7 Masters sobre Android
Suelen Carvalho
A história do surgimento da plataforma móvel Android.
A história do surgimento da plataforma móvel Android.
Suelen Carvalho
O fantástico mundo de Android
O fantástico mundo de Android
Suelen Carvalho
Plus de Suelen Carvalho
(20)
Porque Métodos Ágeis não é pra você!
Porque Métodos Ágeis não é pra você!
Scrum: Relembrando os por quês?
Scrum: Relembrando os por quês?
Techtrends xp desafios da agilidade com trabalho remoto
Techtrends xp desafios da agilidade com trabalho remoto
Introdução a Kotlin
Introdução a Kotlin
Introdução a Android Instant Apps
Introdução a Android Instant Apps
Google IO'17
Google IO'17
Construindo Times de Alta Performance - Produtos & Engenharia
Construindo Times de Alta Performance - Produtos & Engenharia
Git Merge e Rebase - The goal and differences
Git Merge e Rebase - The goal and differences
Dynamic Programming and Reinforcement Learning applied to Tetris Game
Dynamic Programming and Reinforcement Learning applied to Tetris Game
Desenvolvimento de Novos Líderes - Paidéia Educação
Desenvolvimento de Novos Líderes - Paidéia Educação
Go lang
Go lang
Supporting Coding and Testing
Supporting Coding and Testing
Intercon Android 2014 - Google Play In App Billing
Intercon Android 2014 - Google Play In App Billing
Semana da Computação USP São Carlos 2014 - Carreira Mobile
Semana da Computação USP São Carlos 2014 - Carreira Mobile
TDC 2014 - Tudo sobre GCM Push Notifications
TDC 2014 - Tudo sobre GCM Push Notifications
Mobile Conf 2014 - Sua carreira e o que o desenvolvimento mobile tem a ver co...
Mobile Conf 2014 - Sua carreira e o que o desenvolvimento mobile tem a ver co...
Conexao Java - Sua primeira app Android
Conexao Java - Sua primeira app Android
7 Masters sobre Android
7 Masters sobre Android
A história do surgimento da plataforma móvel Android.
A história do surgimento da plataforma móvel Android.
O fantástico mundo de Android
O fantástico mundo de Android
Dernier
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
apidays
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
Radu Cotescu
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Delhi Call girls
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Puma Security, LLC
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Results
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Delhi Call girls
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Martijn de Jong
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
sudhanshuwaghmare1
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
wesley chun
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Delhi Call girls
Dernier
(20)
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
TDC2012 Android - Deixando Sua Interface mais Bonita com Shapes
1.
Trilha Android –
Deixando sua interface mais bonita com SHAPES Suelen Goularte Carvalho Globalcode – Open4education
2.
Quem sou eu...
@SuelenGC Globalcode – Open4education
3.
Objetivos:
1. Entender o que são shapes 2. Saber usar shapes 3. Saber escrever shapes 4. Quick Hands On Globalcode – Open4education
4.
App Resource
Arquivos adicionais Conteúdo estático Imagens Definições de layout Strings etc... Globalcode – Open4education
5.
App Resource Existem
muitos tipos de App Resources: Animation String Color State List Style Drawable E muitos outros... Layout Menu Globalcode – Open4education
6.
App Resource Drawable Resource
Imagem XML Globalcode – Open4education
7.
Drawable Resource Existem
muitos tipos de Drawable Resources: BitmapDrawable TransitionDrawable NinePatchDrawable InsetDrawable LayerDrawable ClipDrawable StateListDrawable ScaleDrawable LevelListDrawable ShapeDrawable Globalcode – Open4education
8.
App Resource Drawable Resource
Shape Globalcode – Open4education
9.
Shape Resource <?xml version="1.0"
encoding="utf-8"?> <shape xmlns:android=“http://schemas.android.com/apk/res/android” android:shape="rectangle"> <gradient android:startColor="#FFFF0000" android:endColor=“#80FF00FF" android:angle="45” /> <padding android:left="7dp" android:top="7dp" android:right=“7dp" android:bottom=“8dp" /> <corners android:radius="8dp" /> </shape> Globalcode – Open4education
10.
Shape Resource MyProject/
src/ MyActivity.java res/ drawable/ icon.png myshape.xml layout/ main.xml values/ strings.xml ... Globalcode – Open4education
11.
Shape Resource pelo
Eclipse b Globalcode – Open4education
12.
Shape Resource pelo
Eclipse b Globalcode – Open4education
13.
Mas afinal... O
que raios é um SHAPE??? Globalcode – Open4education
14.
Objetivos:
1. Entender o que são shapes 2. Saber usar shapes 3. Saber escrever shapes 4. Quick Hands On Globalcode – Open4education
15.
<LinearLayout
android:layout_height=“fill_parent” android:layout_width=“fill_parent”> … <TextView android:background="@drawable/myshape" android:layout_height="wrap_content“ android:layout_width="wrap_content" /> … </LinearLayout> Globalcode – Open4education
16.
Usamos SHAPES para preencher
backgrounds Globalcode – Open4education
17.
Objetivos:
1. Entender o que são shapes 2. Saber usar shapes 3. Saber escrever shapes 4. Quick Hands On Globalcode – Open4education
18.
Shape Retangular <shape
xmlns:android=“http://schemas.android.com/apk/res/android” android:shape=“rectangle”> <gradient android:startColor=“@color/Yellow" android:endColor=“@color/White" android:angle="270“ /> <corners android:radius="0dp" /> </shape> Globalcode – Open4education
19.
Shape Retangular Radial <shape
xmlns:android=“http://schemas.android.com/apk/res/android” android:shape=“rectangle”> <gradient android:type="radial" android:startColor=“@color/Red" android:endColor=“@color/Yellow" android:gradientRadius="300" android:centerX="0.5" android:centerY="0.7” /> </shape> Globalcode – Open4education
20.
Shape Linear
<shape xmlns:android=“http://schemas.android.com/apk/res/android” android:shape=“line”> <stroke android:width=“3dp" android:color=“@color/Pink" /> </shape> Globalcode – Open4education
21.
Shape Ovalado <shape
xmlns:android=“http://schemas.android.com/apk/res/android” android:shape=“oval”> <solid android:color=“@color/Black“ /> <stroke android:width="4dp" android:color=“@color/Blue" android:dashWidth="4dp" android:dashGap="2dp" /> <padding android:left="7dp" android:top="7dp" android:right="7dp" android:bottom="7dp" /> </shape> Globalcode – Open4education
22.
Shape Anelado <shape
xmlns:android=“http://schemas.android.com/apk/res/android” android:shape=“ring” android:innerRadiusRatio="3" android:thicknessRatio="8" android:useLevel="false"> <size android:width="48dip" android:height="48dip" /> <gradient android:type="sweep" android:useLevel="false" android:startColor="#737373" android:endColor="#ffd300" android:centerColor="#737373" android:centerY="0.50“ /> </shape> Globalcode – Open4education
23.
Podemos definir...
Curvas (<corners>) Gradiente (<gradient>) Padding (<padding>) Tamanho (<size>) Cor (<solid>) Borda (<stroke>) Globalcode – Open4education
24.
Objetivos:
1. Entender o que são shapes 2. Saber usar shapes 3. Saber escrever shapes 4. Quick Hands On Globalcode – Open4education
25.
Sem shapes
Com shapes Globalcode – Open4education
26.
shape_button.xml <?xml version="1.0" encoding="utf-8"?> <shape
xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <size android:width="100dp" android:height="45dp” /> <corners android:radius="10dp" /> <solid android:color="@color/Violet" /> <stroke android:width="2dp" android:color="@color/White” /> </shape> Globalcode – Open4education
27.
shape_fields.xml <?xml version="1.0" encoding="utf-8"?> <shape
xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <size android:height="45dp“ /> <corners android:radius="10dp" /> <solid android:color="@color/White" /> <stroke android:width="1dp" android:color="@color/Violet“ /> </shape> Globalcode – Open4education
28.
shape_0_border.xml <?xml version="1.0" encoding="utf-8"?> <shape
xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <solid android:color=“@color/White" /> <stroke android:width="0dp"/> </shape> Globalcode – Open4education
29.
https://github.com/SuelenGC/TDC2012-Shapes
Globalcode – Open4education
30.
Outros exemplos...
Globalcode – Open4education
31.
Bibliografia • Resource
http://developer.android.com/guide/topics/resources/index.html • Drawable Resource http://developer.android.com/guide/topics/resources/drawable-resource.html • Shape http://developer.android.com/guide/topics/resources/drawable- resource.html#Shape • Shape Drawable http://developer.android.com/reference/android/graphics/drawable/ShapeDra wable.html • Exemplos de shapes http://escomic.net/217 Globalcode – Open4education
32.
Dúvidas?
Obrigada! @SuelenGC www.suelengc.com.br suelengcarvalho@gmail.com Globalcode – Open4education
Télécharger maintenant