Hi Mark,

Thanx for reply. Do have any suggestions to solve this problem? Any
sample code would be very helpful.

On Wed, Sep 30, 2009 at 8:06 PM, Mark Murphy <mmur...@commonsware.com> wrote:
>
>
>>
>> Hi All,
>>
>> I need to implement a screen containing a list of blocks one below the
>> other. Each block will contain mutiple superimpose elements (Images,
>> text) for which the relative position needs to be specified with
>> respect to the top left corner of the block.
>>
>> For creating the list of blocks  i have used listview. For each  block
>> i tried to use relative layout.This works ok when the phone is in
>> landscape mode and absolute position is specified relative to left
>> edge of the phone. But when the phone is put in the portrait mode the
>> layout gets distorted.
>>
>> 1) What layout can be used for this scenario?
>
> Your choice of layouts seems fine, at least on the surface.
>
>> 2) Can relative positions be specified in terms of percentage of
>> screen width/height instead of pixels?
>
> Not with any existing layout class.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com
> Android App Developer Books: http://commonsware.com/books.html
>
>
>
> >
>



-- 
Regards,
Jitendra Bachhav.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to