Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Activity & View
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
saulpower
March 10, 2014
Technology
56
0
Share
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
53
View Wiring, Intents, Manifest
saulpower
0
39
Other Decks in Technology
See All in Technology
Babylon.js Japan Activities (2026/4)
limes2018
0
170
Babylon.js を使って試した色々な内容 / Various things I tried using Babylon.js / Babylon.js 勉強会 vol.5
you
PRO
0
230
FlutterでPiP再生を実装した話
s9a17
0
250
機能・非機能の学びを一つに!Agent Skillsで月間レポート作成始めてみた / Unifying Bug & Infra Insights — Building Monthly Quality Reports with Agent Skills
bun913
3
1.8k
Databricks Appsで実現する社内向けAIアプリ開発の効率化
r_miura
0
310
Tour of Agent Protocols: MCP, A2A, AG-UI, A2UI with ADK
meteatamel
0
200
Goビルドを理解し、 CI/CDの高速化に挑む
satoshin
0
110
バックオフィスPJのPjMをコーポレートITが担うとうまくいく3つの理由
yueda256
1
260
互換性のある(らしい)DBへの移行など考えるにあたってたいへんざっくり
sejima
PRO
0
540
AIを活用したアクセシビリティ改善フロー
degudegu2510
0
110
AIエージェント時代に必要な オペレーションマネージャーのロールとは
kentarofujii
0
300
Move Fast and Break Things: 10 in 20
ramimac
0
120
Featured
See All Featured
Information Architects: The Missing Link in Design Systems
soysaucechin
0
860
Side Projects
sachag
455
43k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
160
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
64
53k
Typedesign – Prime Four
hannesfritz
42
3k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
110
YesSQL, Process and Tooling at Scale
rocio
174
15k
Crafting Experiences
bethany
1
100
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
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