Hi, I've two bitmap (ImageView1 and ImageView2) into my Panel...
While for the first image, Iit's done with it becomes large as the panel... but for the second, I could use a height of less than 20%. How can I make usingwith "
match_parent" in size, for decrease?
Thanks
This is the Code fo my xml layout :
<?xml version="1.0" encoding="utf-8"?>
<AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent">
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:eek:rientation="horizontal" android:gravity="center" android:layout_x="0dp" android:layout_y="0dp">
<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:eek:rientation="vertical" android:gravity="center" android:layout_gravity="center_vertical">
<RelativeLayout android:id="@+id/stay_on_panel1" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_x="0dp" android:layout_y="0dp">
<ImageView android:scaleType="fitCenter" android:id="@+id/stay_on_imageview1" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_x="0dp" android:layout_y="0dp" android:visibility="visible" />
<ImageView android:scaleType="fitCenter" android:id="@+id/stay_on_imageview2" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_x="0dp" android:layout_y="0dp" android:visibility="visible" />
</RelativeLayout>
</LinearLayout>
</RelativeLayout>
</AbsoluteLayout>
PS: In Bold, at last lImageView onto code, I've sign the Height when I want resize to 20% low
<ImageView android:scaleType="fitCenter" android:id="@+id/stay_on_imageview2" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_x="0dp" android:layout_y="0dp" android:visibility="visible" />