Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

test: Reply
LinkBack Thread Tools
Old March 24th, 2011, 01:01 PM   #1 (permalink)
New Member
Thread Author (OP)
Join Date: Oct 2010
Posts: 10
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Correct way to format screen

Hello All,
I have had some experience with Java and android development; extensive experience with Windows and embedded development.

In the few Java-based apps I've created, I run into the problem of how to create the view. I usually cobble something together to get it working, but I know there is a better way.

For example, my next app will target a smart phone. Think of three Windows stacked vertically, A, B, and C. A will be the full-screen width and fill about 60% of the screen height at the top. A will contain an image, smaller than the window, centered horizontally and vertically. B will be beneath this, full-screen width, and about 20% of the screen height containing a single line of text. C is at the bottom, about 50 pixels high, full-screen width, and will have four buttons centered and spaced evenly.

How should I be thinking when creating this layout? I'm used to Windows development where you have properties such as center or X and Y position. Java seems to be more dynamically oriented with layouts and views. What features should I be using to create the above display?

Thanks much,

canalrun is offline  
Reply With Quote
sponsored links

Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -5. The time now is 02:33 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.