This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ObjectAnimator.ofFloat(image, "translationX", container.getRight(),container.getLeft()).start(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { | |
View view = (ViewGroup) inflater.inflate(R.layout.product_frame, null); | |
getFragmentManager().beginTransaction().replace(R.id.sub_header, new Sub_Header()).commit(); | |
getFragmentManager().beginTransaction().setCustomAnimations(R.animator.slide_in_left,R.animator.slide_out_right, 0, 0) | |
.replace(R.id.product_frame, new Sub_Catagory_Grid()).commit(); | |
return view; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AnimatorSet set = new AnimatorSet(); | |
set.addListener(new Animator.AnimatorListener() { | |
@Override | |
public void onAnimationStart(Animator animation) { | |
} | |
@Override | |
public void onAnimationEnd(Animator animation) { | |
} |
NewerOlder