tanya gmap

by er1ck » Wed, 21 Apr 2010 00:16:16 GMT


Sponsored Links
 mau tnya supaya gmap bisa view north up gmana ya? spy bs mirip spt ipun 3GS
gitu, secara spica kan ada compasnya, thx

-- 
"



tanya gmap

by Adityo Firmansyah » Wed, 21 Apr 2010 10:38:42 GMT


 bukannya maps ver. 4 sudah ada directionnya ya?
mapsnya pak erick sudah ver. 4 kan?

-adit-




-- 
"


Sponsored Links


Other Threads

1. RotateAnimation, pivoting about the center



ok, i found it.

animation stuff works OK: it rotates tho whole view (not image
bounds), run hierarchyviewer and
you'll see that pivot is ok.

if you try to rotate image itself, try this

ImageView iv = (ImageView) findViewById(R.id.iv);
Matrix matrix = iv.getImageMatrix();
RectF dst = new RectF();
matrix.mapRect(dst, new RectF(iv.getDrawable().getBounds()));
Log.d("Test", "Dst " + dst);
RotateAnimation a = new RotateAnimation(0, 360, iv.getPaddingLeft() +
dst.centerX(), iv.getPaddingTop() + dst.centerY());
a.setDuration(5000);
iv.startAnimation(a);


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

2. totally confused about how to change the layout of a button at runtime

Hi,

You have to use the LayoutParams that correspond the your Button's
parent. In this case, you need to use LinearLayout.LayoutParams.








-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

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

3. How do I get the View dimension after the View has been laid out?

4. Hypotheses for why I can't find a ContentProvider

5. Encoding problems in localizations/EULA question

6. setText not changeing

7. G1 developer phone outside the first countries list