<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>深蓝的blog &#187; animation</title>
	<atom:link href="http://www.lanxinbase.com/?feed=rss2&#038;tag=animation" rel="self" type="application/rss+xml" />
	<link>http://www.lanxinbase.com</link>
	<description>记录日常生活</description>
	<lastBuildDate>Sat, 07 Feb 2026 10:59:52 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.3</generator>
	<item>
		<title>android:开发,animation动画操作类的一个练习</title>
		<link>http://www.lanxinbase.com/?p=1119</link>
		<comments>http://www.lanxinbase.com/?p=1119#comments</comments>
		<pubDate>Wed, 15 Jun 2016 14:00:18 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[7.android应用开发]]></category>
		<category><![CDATA[animation]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1119</guid>
		<description><![CDATA[package com.lanxin.testanim;

import android.graphics.Camera;
import android.graphics.Matrix;
import android.util.Log;
import android.view.animation.Animation;
import android.view.animation.LinearInterpolator;
import android.view.animation.Transformation;

import java.util.Locale;
]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1119</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>android:开发布局动画</title>
		<link>http://www.lanxinbase.com/?p=1098</link>
		<comments>http://www.lanxinbase.com/?p=1098#comments</comments>
		<pubDate>Tue, 14 Jun 2016 14:33:55 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[7.android应用开发]]></category>
		<category><![CDATA[alpha]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[layoutAnimation]]></category>
		<category><![CDATA[scale]]></category>
		<category><![CDATA[translate]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1098</guid>
		<description><![CDATA[//这个是透明度加移动效果
<、、?xml version="1.0" encoding="utf-8"、、?>
<、、set xmlns:android="http://schemas.android.com/apk/res/android"、、>
    <、、alpha
        android:duration="1000"
        android:fromAlpha="0.0"]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1098</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>android开发加载图片旋转的例子</title>
		<link>http://www.lanxinbase.com/?p=1087</link>
		<comments>http://www.lanxinbase.com/?p=1087#comments</comments>
		<pubDate>Mon, 13 Jun 2016 02:38:05 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[7.android应用开发]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[动画]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1087</guid>
		<description><![CDATA[最近写了个项目，是使用webView写的，在网页加载的时候因为网速的原因，往往没有达到1秒即开的那种效果，所以添加了一个图片loading旋转的功能，告诉用户，APP正在加载中。

下面是xml布局代码：

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent"
    android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1087</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>android开发手势翻页操作的效果</title>
		<link>http://www.lanxinbase.com/?p=1032</link>
		<comments>http://www.lanxinbase.com/?p=1032#comments</comments>
		<pubDate>Tue, 17 May 2016 07:35:39 +0000</pubDate>
		<dc:creator><![CDATA[Alan]]></dc:creator>
				<category><![CDATA[7.android应用开发]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[Fling]]></category>
		<category><![CDATA[GestureDetector]]></category>
		<category><![CDATA[Timer]]></category>
		<category><![CDATA[TouchEvent]]></category>
		<category><![CDATA[ViewFlipper]]></category>

		<guid isPermaLink="false">http://www.lanxinbase.com/?p=1032</guid>
		<description><![CDATA[private void init(Context mContext) {
        gestureDetector = new GestureDetector(this,this);
        flipper = (ViewFlipper)findViewById(R.id.flipper);

        //添加图片
        flipper.addView(setImages(R.drawable.a001));
        flipper.addView(setImages(R.drawable.a002));
        flipper.addView(setImages(R.drawable.a003));
        flipper.addView(setImages(R.drawable.a004));
        flipper.addView(setImages(R.drawable.a005));

        //创建动画
        animation[0] = AnimationUtils.loadAnimation(mContext,R.anim.left_in);
        animation[1] = AnimationUtils.loadAnimation(mContext,R.anim.left_out);
        animation[2] = AnimationUtils.loadAnimation(mContext,R.anim.reghit_in);
        animation[3] = AnimationUtils.loadAnimation(mContext,R.anim.reghit_out);]]></description>
		<wfw:commentRss>http://www.lanxinbase.com/?feed=rss2&#038;p=1032</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
