OSDN Git Service

All animator resources moved to res/animator
authorChet Haase <chet@google.com>
Tue, 11 Jan 2011 15:20:55 +0000 (07:20 -0800)
committerChet Haase <chet@google.com>
Tue, 11 Jan 2011 15:20:55 +0000 (07:20 -0800)
Change-Id: I84ea32b1560041a30195067971f02cf9e780d853

samples/ApiDemos/src/com/example/android/apis/app/FragmentHideShow.java

index 9e9661a..19b4260 100644 (file)
@@ -52,8 +52,8 @@ public class FragmentHideShow extends Activity {
         button.setOnClickListener(new OnClickListener() {
             public void onClick(View v) {
                 FragmentTransaction ft = getFragmentManager().openTransaction();
-                ft.setCustomAnimations(android.R.anim.animator_fade_in,
-                        android.R.anim.animator_fade_out);
+                ft.setCustomAnimations(android.R.animator.fade_in,
+                        android.R.animator.fade_out);
                 if (fragment.isHidden()) {
                     ft.show(fragment);
                     button.setText("Hide");