Hi,



1. In frameLayout use focusable false and clickable also false
2. in imageView use give some padding (android:padding="5dip" for
selection color)
next will tell u later
Enjoy
Moktarul
- Hide quoted text -
On Thu, Feb 16, 2012 at 3:38 PM, chowdary nani
<[email protected]> wrote:
 Hi moktarul anam.




Thanks for time
here is my frame lay out code








   <FrameLayout
                android:id="@+id/frameLayout1"
                android:layout_width="180dp"
                android:layout_height="240dp"
                android:layout_marginLeft="20dip"
                android:layout_marginTop="20dip"
                android:background="@drawable/roundedselect" >








                <ImageView
                    android:id="@+id/imageView1"
                    android:layout_width="fill_parent"
                    android:layout_height="fill_parent"
                    android:background="@drawable/iphoneforimagecon"
                    android:scaleType="matrix" />





            </FrameLayout>




roundeselect.xml code is as follows:




<shape xmlns:android="http://schemas.android.com/apk/res/android";
    android:shape="rectangle" >




    <solid android:color="#FFFFFF" />




    <stroke
        android:width="2dip"
        android:color="#000000" />




    <corners
        android:bottomLeftRadius="20dip"
        android:bottomRightRadius="20dip"
        android:topLeftRadius="20dip"
        android:topRightRadius="20dip" />




</shape>




please help me for this




Thanks
Naveen.

On Feb 10, 10:20 am, chowdary nani <[email protected]> wrote:
> Hi All,
> I am working with image view and frame layout
> i have a frame layout with rounded borders
> frame layout consists of image view
> when i select image from gallery view the image is displaying in image view
>  here i have a problem i.e, when the image displaying in the image view it
> is displaying in rectangle insted of round borders
>
> Please help me.
>
> Thanks
> Naveen

-- 
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

Reply via email to