That's too much! This Android special effect can let a newly trained programmer to get a monthly salary 16k!

Source: Internet
Author: User

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!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.