Android Question Layouts (problem)

stanks

Active Member
Licensed User
Longtime User
Hello

I did read everything about layouts here but i still don't understand how to make e.g. 2 layouts. One for LG P350 and another one for Samsung Galaxy S3. And that those 2 will work on every other device that is between those 2 (e.g. LG P350 is 240 x 320 pixels, 2.8 inches (~143 ppi pixel density) and S3 is 720 x 1280 pixels, 4.8 inches (~306 ppi pixel density)).
I did make one for S3, so how to design another one for LG and then to be sure that those layouts will work on some other device?

Thanks
 

stanks

Active Member
Licensed User
Longtime User
and e.g. in S3 i have one image that is ok, but because LG is smaller i have to hide it when user start app on those smaller mobiles. How to do that? Code only?

thanks
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
You should use the designer scripts, there's no need to create layouts for each device.

When I need to update apps I wrote 2 years ago, the first thing I do is to remove all the multiple layouts and add designer scripts. It's very much easier to manage.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…