Hi Friends; I have a problem with layout. I have 4 images,
- redbackground.png 80px
- triangle.png 80px
- star.png 80px
- green_diamond.png 160px
I want to show these images like attached file as shouldbe.png
My layout xml is like
.... //above layout fit
<LinearLayout
android:id="@+id/linearLayout1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:background="@drawable/red_background"
android:gravity="center" >
<ImageView
android:id="@+id/imagetriangle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:src="@drawable/triangle"
android:onClick="backClicked"
/>
<ImageView
android:id="@+id/imgb"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:src="@drawable/green_diamond" />
<ImageView
android:id="@+id/imageright"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:src="@drawable/star"
android:onClick="digerClicked"
/>
</LinearLayout>
However it shows as wrong.png. Problem is that I have to put background
image only for 80px
thank you for your advice.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en<<attachment: shouldbe.png>>
<<attachment: wrong.png>>

