Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Activity & View
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
saulpower
March 10, 2014
Technology
62
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Activity & View
Learn the basics of Android's Activity and View concepts
saulpower
March 10, 2014
More Decks by saulpower
See All by saulpower
Custome Views
saulpower
0
46
Drawables & Animations
saulpower
0
57
View Wiring, Intents, Manifest
saulpower
0
41
Other Decks in Technology
See All in Technology
継続的なAIコスト最適化
bgpat
1
340
Claude の新機能を、 出た日に触って社内に届けるまで
rfdnxbro
1
180
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.2k
Rust で関数型ドメインモデリング
takonda
0
140
Getting Started with Google Antigravity
glaforge
0
310
SAENM ~Jupyterで残すPoCの試行錯誤、未来の自分と仲間を助ける記録!~
terapyon
0
110
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
240
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
4
1.4k
How to Design Configuration for Rails Applications
willnet
1
790
DGX Spark でどこまでハッキングができるのか?
kash1064
3
1.3k
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
920
Local CI × GitHub Actions
gogutan
2
200
Featured
See All Featured
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
540
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
570
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
280
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
360
Agile that works and the tools we love
rasmusluckow
331
22k
Designing Experiences People Love
moore
143
24k
From π to Pie charts
rasagy
1
400
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
500
sira's awesome portfolio website redesign presentation
elsirapls
0
460
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Transcript
Learn Android Activities & Views
Goals Create an Activity Create an XML Layout
Activity Basic Building Block Lifecycle State View Controller
Activity Transition Between Activities Phone Calls App Killed
Activity State Bundle onSaveInstanceState() onRestoreInstanceState()
Activity XML Layouts Compiled at build Views & ViewGroups Custom
Views setContentView()
View Hierarchy Views & View Groups Required: Width & Height
dp, px, pt wrap_content match_parent Layout Engine Measure Pass Layout Pass
Views Widgets TextView Displaying text EditText Input text Button
ViewGroups Widget Container LinearLayout Stack Vertical/Horizontal (orientation) Weight 33
ViewGroups Widget Container LinearLayout Stack Vertical/Horizontal (orientation) Weight RelativeLayout Relative
to parent or children Overlap Nesting