Drawable Setbounds not working

by Ashwini » Wed, 21 Apr 2010 20:25:57 GMT

Sponsored Links
 I am trying to scale a drawable at run time depending on the
orientation and and handset dimensions. But this does not seem to take

This is done on onPreDraw() of textview. It's a textview having text
and images.

Works fine on the 2.x handsets but does not work on the 1.6 ones.
Any ideas on how this can be resolved ?


Other Threads

1. how to loop text view

hi frndz
 I am new to android.. i want to create a list of nodes from an xml
file aftr a text box.. i think i cant use the listview as it extends
ListActivity and the EditText needs to ectend Activity... so how can i
loop a textview...

it is to create a search functionality



2. looping a textview in android

Hi frnds ,
I m new to android..
i want to search for  a keyword in a xml file and list the nodes below
the search box..
so i think i need to list the result nods using text view.. cos
listview cannot be used as it extends ListActivity which cannot be
used for textview...

pls tel me how can i loop the text view..........

thanks and regards


3. Problem in using ImageView

4. LinearLayout doesn't arrange all width for its children

5. How to display map on emulator(our application)

6. APN specification

7. Can mobile position itself?