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. controlling the speed of the scroll

Hello,
I have a Scroll list whose data are populated dynamically from the internet
but due to the content  populating is slow. I want to reduce the speed of
the scroll in my application so that I can cache the required data.
How can I reduce the scrolling speed for scrollview

-- 
with regards vishal

--~--~---------~--~----~------------~-------~--~----~

2. Record a Call

Hi,


Is it possilble recording a call directly on your mobile when you do not
answer?


Regards,
Imtiaz Ali Shah

--~--~---------~--~----~------------~-------~--~----~

3. Problem in display List View With an Image

4. How to start debugger on ADP1 device rather than AVD

5. Default behaviour of the Back button

6. Android after booting suddenly system halted

7. Android after booting suddenly system halted