when we are giving refernce to a Relative layout in java file

ViewGroup Buckylayout
why we just cant use RelativeLayout Buckylayout =(RelativeLayout) findByid(R.id.RelativeLayout)

in line 14


tutorial number 34 animation and transition