>setBitmap()
I think I tried that already, but it's the same problem as using it
with file URIs. It doesn't stretch properly because it's not a
NinePatch, just a flat image.
There is something mentioned about NinePatchChunk but I never saw
anyone getting it to work.
Assigning NinePatch PNGs via URI or setBitmap just results in the
image being read as a normal PNG (including the black indicators) and
then being stretched ignoring the NinePatch info.

On Jan 9, 12:53 pm, Kumar Bibek <[email protected]> wrote:
> I am not sure, but have you tried this method?
>
> http://developer.android.com/reference/android/widget/RemoteViews.htm...
>
> Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com
>
> On Sun, Jan 9, 2011 at 5:21 PM, Mark <[email protected]>wrote:
>
>
>
>
>
>
>
> > > As written in my Approach 2, I don't see a way to use any of the
> > > RemoteViews.set...() methods with a NinePatch.
>
> > As far as I see it only works with resource IDs which point to
> > drawables in the apk.
> > But I have files outside the apk.
>
> > --
> > 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]<android-developers%2Bunsubs 
> > [email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en

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