Click here to Skip to main content
15,895,084 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi.
I want make an activity like below:
http://i60.tinypic.com/f2xig.jpg[^]
but in different screen size the last image have different from other images. how can i fix it ?
Posted
Comments
Sergey Alexandrovich Kryukov 19-Jun-14 12:32pm    
Without appropriate code sample this post makes no sense. You could screw up the picture in many ways...
—SA

1 solution

Without your code it is impossible to answer your question. Assuming your need, this may be help you...

[This will help you only for 3 images]
<relativelayout>
android:id="@+id/relativeLayout1"
android:layout_width="wrap_content"
android:layout_height="wrap_content">

<imageview>
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:src="@drawable/img1"/>

<imageview>
android:id="@+id/imageView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:centerinHorizontal="true"
android:centerinVertical="true"
android:src="@drawable/img2"/>

<imageview>
android:id="@+id/imageView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:src="@drawable/img3"/>

</imageview></imageview></imageview></relativelayout>
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900