Home > Backend Development > XML/RSS Tutorial > Android fade-in and fade-out animation xml configuration code display

Android fade-in and fade-out animation xml configuration code display

Y2J
Release: 2017-04-26 15:50:59
Original
2412 people have browsed it

<?xml version="1.0" encoding="utf-8"?>
 <set xmlns:android="http://schemas.android.com/apk/res/android"
     android:interpolator="@android:anim/accelerate_interpolator">
     <!-- 淡入淡出,从完全不透明变化到完全透明,持续时间为5秒 -->
     <alpha
         android:fromAlpha="1.0"
         android:toAlpha="0.0"
         android:startOffset="500"
         android:duration="5000"
     />
 </set>
Copy after login

The above is the detailed content of Android fade-in and fade-out animation xml configuration code display. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template