Android-image-slide-panel pictures Photos of the wall loading picture when a stack and loading completed after switching each slide effect, custom imageslidepanel, according to the early habits, each page should be a template, So the template keyword is used for naming here
Operating effect:
on this Android special effect let a just trained programmer to get a monthly salary of 15k, killed I do not believe, I see this code knock is nothing special ah, I am also drunk, I copied out the link you see: full Source view address: Www.itlanbao.com/code/20150908/10000/100513.html
Package com.stone.firstpage;
Import Android.annotation.SuppressLint;
Import Android.content.Context;
Import Android.graphics.Canvas;
Import Android.graphics.Color;
Import Android.graphics.Paint;
Import Android.graphics.PaintFlagsDrawFilter;
Import Android.util.AttributeSet;
Import Android.widget.TextView;
/**
* Mainly anti-aliasing view, can inherit from LinearLayout and other viewgroup types of views added strokes
*
* @author Sistone.zhang
*
*/
@SuppressLint ("Drawallocation")
public class Antialiastextview extends TextView {
private paint paint;
Public Antialiastextview (Context context) {
This (context, NULL);
}
Public Antialiastextview (context context, AttributeSet Attrs) {
This (context, attrs, 0);
}
Public Antialiastextview (context context, AttributeSet attrs, int defstyle) {
Super (context, attrs, Defstyle);
Paint = new paint ();
Paint.setantialias (TRUE);
Paint.setcolor (Color.White);
Paint.setstrokewidth (7);
Paint.setstyle (Paint.Style.FILL);
}
@Override
protected void OnDraw (canvas canvas) {
Canvas.setdrawfilter (New Paintflagsdrawfilter (0,
Paint.filter_bitmap_flag | Paint.anti_alias_fl
That's too much! This Android special effect can let a newly trained programmer to get a monthly salary 16k!