1. 此控件的作用
类似于翻书一样,可以上下翻页的控件,
2. 效果图
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAd8AAAKyCAIAAAAb4EMWAAAgAElEQVR4nO3dP2jj2r7ocRcpXKRwMYWLKa5hij2QIgEXI3CTgIsIXDjgIoIUJrgw4hSH4RQbcZpD2MVG7OIy7EoMjwua4oKnS4oHM82FmeLApJspHmSKV6S4hR/cwsUp9ApnMkmUP9ZPS1o/yd/Np3g83puzsiJ/I0tLS43G/zQAAOo0FgAAfeyPAACQ1vgXAEAf+yMAAKTZHwEAIM3+CAAAafZHAABIsz8CAECa/REAANLsjwAAkGZ/BACANPsjAACk2R8BACDN/ggAAGn2RwAASLM/AgBAmv0RAADS7I8AAJBmfwQAgDT7IwAApNkfAQAgzf4IAABp9kcAAEizPwIAQJr9EQAA0uyPAACQZn8EAIA0+yMAAKTZHwEAIM3+CAAAafZHAABIsz8CAECa/REAANLsjwAAkGZ/BACANPsjAACk2R8BACDN/ggAAGn2RwAASLM/AgBAmv0RAADS7I8AAJBmfwQAgDT7IwAApNkfAQAgzf4IAABp9kcAAEizPwIAQJr9EQAA0uyPAACQZn8EAIA0+yMAAKTZHwEAIM3+CAAAafZHAABIsz8CAECa/REAANLsjwAAkGZ/BACANPsjAACk2R8BACDN/ggAAGn2RwAASLM/AgBAmv0RAADS7I8AAJBmfwQAgDT7IwAApNkfAQAgzf4IAABp9kcAAEizPwIAQJr9EQAA0uyPAACQZn8EAIA0+yMAAKTZHwEAIM3+CAAAafZHAABIsz8CAECa/REAANLsjwAAkGZ/BACANPsjAACk2R8BACDN/ggAAGn2RwAASLM/AgBAmv0RAADS7I8AAJBmfwQAgDT7IwAApNkfAQAgzf4IAABp9kcAAEizPwIAQJr9EQAA0uyPAACQZn8EAIA0+yMAAKTZHwEAIM3+CAAAafZHAABIsz8CAECa/REAANLsjwAAkGZ/BACANPsjAACk2R8BACDN/ggAAGn2RwAASLM/AgBAmv0RAADS7I8AAJBmfwQAgLRwm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gEXUGAI247gwAGnHuDAAaUWcA0Ig6A4BGXHcGAI04dwYAjagzAGhEnQFAI647A4BGnDsDgEbUGQA0os4AoBHXnQFAI86dAUAj6gwAGlFnANCI684AoBHnzgCgEXUGAI2oMwBoxHVnAFAo2k0a/4//+I//+I//9P3X+F/8x3/8x3/8p++//w9SdegyCHNL8gAAAABJRU5ErkJggg==" alt="" /> 上下翻页的效果
3. 实现代码
package com.duguang.baseanimation.ui.flip; import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter; import com.aphidmobile.flip.FlipViewController;
import com.duguang.baseanimation.R; public class Issue51Activity extends Activity { /**
* 类似于翻书一样,可以上下翻页的控件,详细代码可以查看
* https://github.com/openaphid/android-flip/blob/master/FlipView/FlipLibrary/src/com/aphidmobile/flip/FlipViewController.java
*
*/
private FlipViewController flipView; @ Override
protected void onCreate ( Bundle savedInstanceState ) { super.onCreate ( savedInstanceState );
setTitle ( R.string.activity_title ); flipView = new FlipViewController ( this ); // 设置适配器
flipView.setAdapter ( new MyBaseAdapter ( this ) ); setContentView ( flipView );
} @ Override
protected void onResume ( ) { super.onResume ( );
flipView.onResume ( );
} @ Override
protected void onPause ( ) { super.onPause ( );
flipView.onPause ( );
} // 自定义适配器
private static class MyBaseAdapter extends BaseAdapter { // 准备加载布局的工具
private LayoutInflater inflater; private MyBaseAdapter (
Context context ) { inflater = LayoutInflater.from ( context );
} @ Override
public int getCount ( ) { return 3;
} @ Override
public Object getItem ( int position ) { return position;
} @ Override
public long getItemId ( int position ) { return position;
} @ Override
public View getView ( int position ,
View convertView ,
ViewGroup parent ) { if (position == 0) {
return inflater.inflate ( R.layout.activity_flip_page1 ,
null );
}
else if (position == 1) {
return inflater.inflate ( R.layout.activity_flip_page2 ,
null );
}
else {
return inflater.inflate ( R.layout.activity_flip_page3 ,
null );
}
}
}
}