Drawable issues

by Ashwini » Thu, 22 Apr 2010 03:12:00 GMT


Sponsored Links
 Hi,

I am trying to resize an image in a textview (set using imagespan). I
tried using setbounds but the image is not reflected.

OnPreDraw - set the bounds
OnDraw - shows the image in some weird place - the updated position
isn't shown correctly.

Can someone please suggest any other option to resize a drawable ?

--



Other Threads

1. Is it possible to invoke an external activity, such as a browser, from a custom suggestion provided by a custom suggestion provider

when I examine the intent raised by clicking on a suggestion provided
by a custom suggestion provider it looks like this

launching Intent {
act=android.intent.action.VIEW
dat=http://www.google.com
flg=0x10000000
cmp=com.ai.android.search.custom/.SearchActivity (has extras)
}

This is assuming that I have an intent action column and also intent
data column. My hope was that when a user clicks on the suggestion
there will be an intent with out the explicit "component" in it
allowing the invocation of the browser.

Is that always the case? Is that a security restriction?

Your comments are much appreciated.
Satya

--~--~---------~--~----~------------~-------~--~----~

2. 1.6. update and Gps recive

Hi,

I install 1.6 on my Dev-phone last frieday and all my apps working
with gps signal are not working any more (they receive no gps signal),
as "google maps", "AndNav 2", "wikitude", "GPS 2 Status", has any one
have same experience.

Hakan

--~--~---------~--~----~------------~-------~--~----~

3. Pick a zoom to fit all map overlays on screen?

4. 1.6 Camera rotation issue.

5. Two questions.

6. Programming The UI

7. Reg. Updgrade System App from Android Market