public override View OnCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View view = inflater.Inflate (Resource.Layout.counter_layout, container, false); down_drawable = Resources.GetDrawable (Resource.Drawable.jump_down_50); up_drawable = Resources.GetDrawable (Resource.Drawable.jump_up_50); counter_text = (TextView)view.FindViewById (Resource.Id.counter); counter_text.SetCompoundDrawablesRelativeWithIntrinsicBounds (up_drawable, null, null, null); SetCounter (Utils.GetCounterFromPreference (Activity)); handler = new Handler (); StartAnimation (); return view; }