SlideShare a Scribd company logo
Android Layout
Bayu Firmawan Paoh
Codelabs Unikom
+
Linear Layout
Relative Layout
Absolute Layout
Frame Layout
Intent ( Extras)
Android Layout
Linear Layout
A layout that organizes its children into a single horizontal
or vertical row.
Linear Layout
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal | vertical">
<!-- widget2 disini-->
</LinearLayout>
How ???
Hint
android:orientation="horizontal"
Relative Layout
Enables you to specify the location of child objects relative to each other
(child A to the left of child B) or to the parent (aligned to the top of the
parent).
Relative Layout
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<!-- widget2 disini-->
</RelativeLayout>
Absolute Layout
A layout that lets you specify exact locations (x/y coordinates) of its children.
Absolute Layout
<AbsoluteLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<!-- widget2 disini-->
</AbsoluteLayout>
Frame Layout
FrameLayout is designed to block out an area on the screen to display a
single item.
Frame Layout
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<!-- widget2 disini-->
</FrameLayout>
Intent
An Intent provides a facility for performing late runtime binding between the
code in different applications.
Intent
Intent intent = new Intent(this, ActivityName.class);
startActivity(intent);
Challenges
Basic Android Layout
STAY HUNGRY
STAY FOOLISH
Slide : goo.gl/VpZgd1
References : developer.android.com
Project : github.com/bayupaohganteng/androidlayout.git
+

More Related Content

PPTX
Android Layout
mcanotes
 
PPTX
Android Training (Android UI)
Khaled Anaqwa
 
PPT
Android Ui
Jetti Chowdary
 
PPTX
Android android layouts
perpetrotech
 
PDF
Advance Android Layout Walkthrough
Somkiat Khitwongwattana
 
PDF
Android Screen Containers & Layouts
Vijay Rastogi
 
PPTX
Android development session 3 - layout
Farabi Technology Middle East
 
PDF
Android ui layout
Krazy Koder
 
Android Layout
mcanotes
 
Android Training (Android UI)
Khaled Anaqwa
 
Android Ui
Jetti Chowdary
 
Android android layouts
perpetrotech
 
Advance Android Layout Walkthrough
Somkiat Khitwongwattana
 
Android Screen Containers & Layouts
Vijay Rastogi
 
Android development session 3 - layout
Farabi Technology Middle East
 
Android ui layout
Krazy Koder
 

What's hot (20)

PDF
01 09 - graphical user interface - basic widgets
Siva Kumar reddy Vasipally
 
PPT
Android UI Patterns
Peter Pascale
 
PDF
01 08 - graphical user interface - layouts
Siva Kumar reddy Vasipally
 
PDF
Android layouts
Jeffrey Quevedo
 
PPT
android layouts
Deepa Rani
 
PPT
View groups containers
Mani Selvaraj
 
PPTX
Ui 5
Michael Shrove
 
PDF
Best Practices for Android UI by RapidValue Solutions
RapidValue
 
PDF
Android Layout 3分クッキング
Yuki Anzai
 
PPTX
Android Widget
ELLURU Kalyan
 
PDF
Chapter 5 - Layouts
Sittiphol Phanvilai
 
PDF
Chapter 10 - Views Part 2
Sittiphol Phanvilai
 
PDF
Hierarchy viewer
Badrinath Kulkarni
 
PPTX
行動App開發管理實務unit3
Xavier Yin
 
DOCX
Android xml-based layouts-chapter5
Dr. Ramkumar Lakshminarayanan
 
PPTX
Material Design Android
Samiullah Farooqui
 
PDF
Android appwidget
Krazy Koder
 
PDF
04 user interfaces
C.o. Nieto
 
PPTX
Android Layout.pptx
vishal choudhary
 
01 09 - graphical user interface - basic widgets
Siva Kumar reddy Vasipally
 
Android UI Patterns
Peter Pascale
 
01 08 - graphical user interface - layouts
Siva Kumar reddy Vasipally
 
Android layouts
Jeffrey Quevedo
 
android layouts
Deepa Rani
 
View groups containers
Mani Selvaraj
 
Best Practices for Android UI by RapidValue Solutions
RapidValue
 
Android Layout 3分クッキング
Yuki Anzai
 
Android Widget
ELLURU Kalyan
 
Chapter 5 - Layouts
Sittiphol Phanvilai
 
Chapter 10 - Views Part 2
Sittiphol Phanvilai
 
Hierarchy viewer
Badrinath Kulkarni
 
行動App開發管理實務unit3
Xavier Yin
 
Android xml-based layouts-chapter5
Dr. Ramkumar Lakshminarayanan
 
Material Design Android
Samiullah Farooqui
 
Android appwidget
Krazy Koder
 
04 user interfaces
C.o. Nieto
 
Android Layout.pptx
vishal choudhary
 
Ad

Viewers also liked (12)

PPTX
Introduction to Xamarin.Forms and Lessons Learnt
Michael Ridland
 
DOCX
Android Basic Tutorial
Smartmonk
 
PPTX
Introdução ao Xamarin Forms
Studyxnet
 
PDF
Android layout 工程師在想什麼?給視覺設計師
Kane Shih
 
PDF
Head First XML Layout on Android
Yuki Anzai
 
ODP
Android training day 2
Vivek Bhusal
 
PDF
Android complete basic Guide
AKASH SINGH
 
PDF
Android進階UI控制元件
艾鍗科技
 
PDF
Customizing Theme and Style for Material Design : Droid Kaigi 2016
Yuki Anzai
 
PDF
不同尺寸與解析度的螢幕下,Android 程式 UI 的設計與解決方式
信宏 陳
 
PPTX
Android Layout模組化介紹
Chris Jeng
 
PDF
簡單上手Android studio
琨堯 林
 
Introduction to Xamarin.Forms and Lessons Learnt
Michael Ridland
 
Android Basic Tutorial
Smartmonk
 
Introdução ao Xamarin Forms
Studyxnet
 
Android layout 工程師在想什麼?給視覺設計師
Kane Shih
 
Head First XML Layout on Android
Yuki Anzai
 
Android training day 2
Vivek Bhusal
 
Android complete basic Guide
AKASH SINGH
 
Android進階UI控制元件
艾鍗科技
 
Customizing Theme and Style for Material Design : Droid Kaigi 2016
Yuki Anzai
 
不同尺寸與解析度的螢幕下,Android 程式 UI 的設計與解決方式
信宏 陳
 
Android Layout模組化介紹
Chris Jeng
 
簡單上手Android studio
琨堯 林
 
Ad

Similar to Basic Android Layout (20)

PPTX
INTRODUCTION AND BASICS OF Android NOTES.pptx
Poornima E.G.
 
PDF
[2019] 스몰 스텝: Android 렛츠기릿!
NHN FORWARD
 
PDF
Advance Android application development workshop day 2
cresco
 
PPTX
Make your app dance with MotionLayout
timmy80713
 
PDF
Data binding 入門淺談
awonwon
 
PDF
Fragments: Why, How, What For?
Brenda Cook
 
PPTX
06 UI Layout
Sokngim Sa
 
PDF
Migrating a large scale banking app to compose
Fatih Giris
 
DOCX
Layout
deepikasony
 
PPTX
Constraint layout - New Hope
Grzegorz Matyszczak
 
PDF
Android Material Design APIs/Tips
Ken Yee
 
PPTX
WMP_MP02_revd(10092023).pptx
fahmi324663
 
PDF
Support Design Library
Taeho Kim
 
PPTX
WMP_MP02_revd_03(10092023).pptx
fahmi324663
 
PDF
MOBILE APPLICATION DEVELOPMENT
Muhammad Sajid
 
DOC
Android LAb - Creating an android app with Radio button
priya Nithya
 
PDF
Android por onde começar? Mini Curso Erbase 2015
Mario Jorge Pereira
 
PPTX
Rajab Davudov - Android UI Design: Layouts
Rashad Aliyev
 
PPTX
06. Android Basic Widget and Container
Oum Saokosal
 
PDF
How to use data binding in android
InnovationM
 
INTRODUCTION AND BASICS OF Android NOTES.pptx
Poornima E.G.
 
[2019] 스몰 스텝: Android 렛츠기릿!
NHN FORWARD
 
Advance Android application development workshop day 2
cresco
 
Make your app dance with MotionLayout
timmy80713
 
Data binding 入門淺談
awonwon
 
Fragments: Why, How, What For?
Brenda Cook
 
06 UI Layout
Sokngim Sa
 
Migrating a large scale banking app to compose
Fatih Giris
 
Layout
deepikasony
 
Constraint layout - New Hope
Grzegorz Matyszczak
 
Android Material Design APIs/Tips
Ken Yee
 
WMP_MP02_revd(10092023).pptx
fahmi324663
 
Support Design Library
Taeho Kim
 
WMP_MP02_revd_03(10092023).pptx
fahmi324663
 
MOBILE APPLICATION DEVELOPMENT
Muhammad Sajid
 
Android LAb - Creating an android app with Radio button
priya Nithya
 
Android por onde começar? Mini Curso Erbase 2015
Mario Jorge Pereira
 
Rajab Davudov - Android UI Design: Layouts
Rashad Aliyev
 
06. Android Basic Widget and Container
Oum Saokosal
 
How to use data binding in android
InnovationM
 

More from Bayu Firmawan Paoh (12)

PDF
[Seminar] ANALISIS KORELASI VARIABEL KONDISI LINGKUNGAN KANDANG TERHADAP KUAL...
Bayu Firmawan Paoh
 
PDF
Object Oriented Programing - Polymrphism
Bayu Firmawan Paoh
 
PDF
Object Oriented Programing-Intro
Bayu Firmawan Paoh
 
PDF
Object Oriented Programing - Inheritance
Bayu Firmawan Paoh
 
PDF
Object Oriented Programing - Generic Programing
Bayu Firmawan Paoh
 
PDF
Object Oriented Programing - Intro
Bayu Firmawan Paoh
 
PDF
Presentation facade design pattern
Bayu Firmawan Paoh
 
PDF
Make Recyclerview With Android Studio
Bayu Firmawan Paoh
 
PDF
Android fundamental development
Bayu Firmawan Paoh
 
PDF
Android - Getting Started With Firebase Auth
Bayu Firmawan Paoh
 
PDF
Basic Scala
Bayu Firmawan Paoh
 
PDF
How to make e-commerce with oscmax
Bayu Firmawan Paoh
 
[Seminar] ANALISIS KORELASI VARIABEL KONDISI LINGKUNGAN KANDANG TERHADAP KUAL...
Bayu Firmawan Paoh
 
Object Oriented Programing - Polymrphism
Bayu Firmawan Paoh
 
Object Oriented Programing-Intro
Bayu Firmawan Paoh
 
Object Oriented Programing - Inheritance
Bayu Firmawan Paoh
 
Object Oriented Programing - Generic Programing
Bayu Firmawan Paoh
 
Object Oriented Programing - Intro
Bayu Firmawan Paoh
 
Presentation facade design pattern
Bayu Firmawan Paoh
 
Make Recyclerview With Android Studio
Bayu Firmawan Paoh
 
Android fundamental development
Bayu Firmawan Paoh
 
Android - Getting Started With Firebase Auth
Bayu Firmawan Paoh
 
Basic Scala
Bayu Firmawan Paoh
 
How to make e-commerce with oscmax
Bayu Firmawan Paoh
 

Recently uploaded (20)

PDF
The Role of Automation and AI in EHS Management for Data Centers.pdf
TECH EHS Solution
 
PDF
Microsoft Teams Essentials; The pricing and the versions_PDF.pdf
Q-Advise
 
PDF
Become an Agentblazer Champion Challenge
Dele Amefo
 
PDF
Wondershare Filmora 14.5.20.12999 Crack Full New Version 2025
gsgssg2211
 
PPT
Activate_Methodology_Summary presentatio
annapureddyn
 
PDF
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
PDF
Micromaid: A simple Mermaid-like chart generator for Pharo
ESUG
 
PDF
Exploring AI Agents in Process Industries
amoreira6
 
PDF
Build Multi-agent using Agent Development Kit
FadyIbrahim23
 
PDF
49784907924775488180_LRN2959_Data_Pump_23ai.pdf
Abilash868456
 
PPTX
TestNG for Java Testing and Automation testing
ssuser0213cb
 
PPTX
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
PDF
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
PPTX
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
PPTX
Role Of Python In Programing Language.pptx
jaykoshti048
 
PPTX
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
PPT
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
PPTX
Explanation about Structures in C language.pptx
Veeral Rathod
 
PPTX
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
PPTX
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 
The Role of Automation and AI in EHS Management for Data Centers.pdf
TECH EHS Solution
 
Microsoft Teams Essentials; The pricing and the versions_PDF.pdf
Q-Advise
 
Become an Agentblazer Champion Challenge
Dele Amefo
 
Wondershare Filmora 14.5.20.12999 Crack Full New Version 2025
gsgssg2211
 
Activate_Methodology_Summary presentatio
annapureddyn
 
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
Micromaid: A simple Mermaid-like chart generator for Pharo
ESUG
 
Exploring AI Agents in Process Industries
amoreira6
 
Build Multi-agent using Agent Development Kit
FadyIbrahim23
 
49784907924775488180_LRN2959_Data_Pump_23ai.pdf
Abilash868456
 
TestNG for Java Testing and Automation testing
ssuser0213cb
 
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
classification of computer and basic part of digital computer
ravisinghrajpurohit3
 
Role Of Python In Programing Language.pptx
jaykoshti048
 
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
Explanation about Structures in C language.pptx
Veeral Rathod
 
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 

Basic Android Layout