Loki117 wrote:
> public void onAnimationEnd(Animation animation)
>               {
>                       if(arrowUP){
>                               
> arrow.setBackgroundResource(R.drawable.arrowdown);
>                               arrowUP = false;
>                               Display display = ((WindowManager)
> getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay();
>                               mapHolder.setLayoutParams(new
> LinearLayout.LayoutParams(0,arrow.getHeight()-display.getHeight()));

Ick. Do you really have to use Display?

Since you didn't include a stack trace, I have no idea what the
ClassCastException would be on this last line.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

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