Advertisement
Guest User

Untitled

a guest
Jul 16th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1.  
  2.  
  3. <?xml version="1.0" encoding="UTF-8"?>
  4. <set xmlns:android="http://schemas.android.com/apk/res/android">
  5. <alpha
  6. android:fromAlpha="0.0"
  7. android:toAlpha="1.0"
  8. android:interpolator="@android:anim/accelerate_interpolator"
  9. android:duration="2000"/>
  10. </set>
  11.  
  12.  
  13. ImageView wi_background = findViewById(R.id.wi_bg);
  14. Animation myFadeInAnimation = AnimationUtils.loadAnimation(getApplicationContext(), R.anim.fade_in_long);
  15. wi_background.setImageBitmap(blurredBitmap);
  16. wi_background.startAnimation(myFadeInAnimation);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement