J'ai 2 image que je veux mettre une image sur une autre mon xml suitimage sur une autre image
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<ImageView
android:id="@+id/imgThumb"
android:layout_width="60dip"
android:layout_height="80dip"
android:layout_gravity="center_horizontal"
android:layout_marginTop="20sp"
android:src="@drawable/bg" />
<TextView
android:id="@+id/imgText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="5dip"
android:ellipsize="marquee"
android:singleLine="true"
android:text="test string"
android:textColor="#000000"
android:textSize="10dip"
android:visibility="gone" />
<View
android:layout_width="fill_parent"
android:layout_height="30sp"
android:background="@drawable/shelf" />
mise en page ressemble à ce
Je veux cette première image sur cette seconde image. Aussi, on dirait que cette première image se trouve sur la deuxième image
utilisation de la mise en page ralative –
utilisation disposition relative + mise en page de cadre ou relativelayout seul.! – k0sh