Simply use a 9-patch found on my blog to do your test :)

Please enjoy free 9-Patch images found on my blog: 
http://android9patch.blogspot.com/
I also created an android app to browse, test and share 9-Patch
Images: http://market.android.com/details?id=com.android9patch.viewer

All images are free and can be used in any type of android
applications, including commercial projects.

Enjoy!



On Jul 22, 4:19 am, b_t <[email protected]> wrote:
> Hi,
>
> I would like use a 9 patch png in an ImageView. It sounds easy but
> doesn't work for me.
> If I set the popup.9.png drawable as the source then the whole image
> is stretched, not works as I excepted.
>
> <ImageView android:layout_width="fill_parent"
> android:layout_height="fill_parent" android:src="@drawable/popup"/>
>
> If I set this drawable as background then it works well.
>
> But setting as background is not good for me because I would like to
> set alpha value too
> which is for source only not background.
>
> This link says too that you should set as background:
>
> http://stackoverflow.com/questions/5242880/android-9-patch-graphic-do...
>
> Can somebody tell me why doesn't it work?
>
> Thanks,
> Tamás

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