Hello I want to make one application in which i am using Absolute layout and in that layout i am using two images i want to put one image in bottom left and another in bottom right can you help me how can i do this with xml or with java
My code is
<AbsoluteLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:padding="10dp" android:layout_marginLeft="60dp"
android:layout_marginBottom="60dp"
android:id="@+id/mainLayout">
<ImageView android:id="@+id/img1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:src="@drawable/hk1" />
<ImageView android:id="@+id/imgDel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/kitty"
android:layout_gravity="left"
/>
<ImageView android:id="@+id/imgIcon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/delete"
android:layout_gravity="right"
/>
</AbsoluteLayout>
use some thing like this
refered from relative layout aligning images about right bottom corner