"What if? Why not? Challenge the Convention! Let's do some incredible things!" More Quotes
Home
About/Contact
Twitter
Aspire/J2EE
Github
Pro Android 4
Our Android Books
Lookup Meaning
look up
more ..
Stuff I used to do
java.net Blog
At O'Reilly
Articles
Humanities
Humanities Current
Humanities 2007
Telugu related
Shells
Books
Music
Letters
Recipes
Jax Restaurants
Java
J2SE/J2EE/JSP
Portlets
Research
OSCON 2004
Download OSCON 2004 Presentation
OSCON 2003
Magazines
Dotnet
FTP
Industries
Supply Chain
Health
1-Nov-12
Custom Components
Compound Controls
9-Nov-12
Here are steps involved in creating a custom layout
Inherit from ViewGroup Override OnMeasure Use a pencil and paper to figure out your algorithm Use ViewGroup.measureChild(). Don't directly use child.measure() (Unless you know what you are doing) Use layout params to stuff the origin of each child view Take into accound padding Override OnLayout Just retrieve the layout param object and use its origin Implement custom LayoutParams Override layout params construction methods Test it with exact, match parent, wrap content, and weights
23-Oct-12
Custom views
31-Oct-12
Customizing a View: Essential Code Snippets
30-Oct-12
Date Controls
17-Oct-12
How do you work with a surface view?
Managing View State in Android: Techniques and Approaches
On MeasureSpec
3-Jun-13
onMeasure, onLayout, onDraw: Briefly speaking
2-Nov-12
Principles of Compound Controls: A semi article
10-Nov-12
Principles of Custom Layouts: A semi article
Reading custom attributes
Responding to events
7-Nov-12
The dispatch pattern in Android
Understand Android layout internals
20-Oct-12
What can you use the Hierarchy Viewer for?
19-Oct-12
Working with 2D graphics
This content will be part of the upcoming book
Expert Android
Videos
By Chiuki
By Romain and Chet
Key Docs
View Drawing
APIs
View
ViewGroup
Paint
Canvas
Android Notes
Code Snippets
Java2s Android code
Source
View Group
ViewRoot
Page Menu
Print
Sort by Date
Sort by Name
Titles
> Summaries
Global Menu
My Web Logs
My Library
My Home
Other libraries
Author Content
data format