Layout problems: AbsoluteLayout deprecated, how to do it now?

by Arron » Sat, 30 Jan 2010 18:10:19 GMT


Sponsored Links
 Well that's exactly the reason why absoluteLayout was deprecated.  It
works for only one screen size.

I will say use various layouts with sp margins to space out the
buttons correctly.




--



Layout problems: AbsoluteLayout deprecated, how to do it now?

by theSmith » Sun, 31 Jan 2010 03:28:44 GMT


 


You should be able to use a relativelayout or a linearlayout and just
add padding in dip (density independent pixels) to the sides of the
buttons.  For small screen devices you probably want to create a new
layout with smaller buttons so it displays properly.

-theSmith



--


Sponsored Links


Layout problems: AbsoluteLayout deprecated, how to do it now?

by kaasinees » Tue, 02 Feb 2010 02:07:56 GMT


 try making a new view that is centered in the layout than use the
margin attributes like mentioned before to position the buttons inside
that  view.

this way it could work on all screen sizes.




--



Layout problems: AbsoluteLayout deprecated, how to do it now?

by James Wang » Sat, 27 Feb 2010 12:30:43 GMT


 I think you can do anything with Framelayout like absolutelayout.

--



Other Threads

1. 720p Encording on Nexus One!

Mwehehehh.. emang keren nih hh gw.. iOS4 can su*k it!!
http://forum.xda-developers.com/showthread.php?p=6744172

*tp blon nyoba* xD

-- 
"Indonesian Android Community [id-android]" 

2. Force Close - Debug

Hello Team,

Is there a writeini / readini functions for andriod/ecplise developent? Or
what is the best way to 'remember' a setting, and then at a later time
restore it?

Thanks!

Jason

-- 

3. Couple questions regarding gestures and system uis

4. Retrieving Contact Information (Name, Number, and Email) from the Phone book

5. Any way to make localized resources separate downloads?

6. Images in ListView in wrong places

7. Problem in getting height of contetn in Webview