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. Emulator Internet Issues as Stand-Alone

Heyho!
I'm developing an App for School, and my teacher asked me if it is
possible that he gets kind of an "image" to check the App out
himself.

Well, I can't lend him my precious Magic, and I don't want to let him
struggle with installing the whole SDK.

So what I did was, I kinda "exported" the Emulator as a stand-alone
app. I specified via cmd all the necessary images.

Actually, its working. Even my App is stored on there, and seems to
work as well. But no internet. The Emulator itself HAS Internet,
Google Maps and the Browser are working fine. But my MapView won't
load anything, it just stays gray. And yes, permissions are set of
course, and in my normal environment it works like a charm.

Can anyone help me out?

Greetz!

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

2. Portage d'Android sur IMX27 /// Android porting on IMX27

I will start my journey through android and imx27 this weekend, maybe
we can share some material.

[]'s

Hamilton Vera









-- 
Hamilton Vera
int Administrator (char Network[],char ComputationalSystems[])
http://hvera.wordpress.com

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. WiFi on eeePC 1000HE?

4. Using loadData() rather than loadUrl() and intercepting urls?

5. After Killing Task, Android is not launching correct Activity

6. dual SD card + camera folder location on SD card

7. getting the pictures taken with my program to appear in gallery