@@ -0,0 +1,1078 @@
+package me.codeboy.android.aligntextview.example;%0A%0Aimport android.app.Activity;%0Aimport android.os.Bundle;%0Aimport android.text.method.ScrollingMovementMethod;%0Aimport android.view.Window;%0Aimport android.widget.TextView;%0A%0Aimport me.codeboy.android.aligntextview.AlignTextView;%0A%0A/**%0A * AlignTextView%E4%BE%8B%E5%AD%90%0A *%0A * @author YD%0A */%0Apublic class AlignTextViewExample2 extends Activity %7B%0A%0A    TextView textViewTv;%0A%0A    @Override%0A    protected void onCreate(Bundle savedInstanceState) %7B%0A        super.onCreate(savedInstanceState);%0A        this.requestWindowFeature(Window.FEATURE_NO_TITLE);%0A%0A%0A        textViewTv = new AlignTextView(this);%0A%0A        setContentView(textViewTv);%0A%0A        String text = %22%E8%BF%99%E6%98%AF%E4%B8%80%E6%AE%B5%E4%B8%AD%E8%8B%B1%E6%96%87%E6%B7%B7%E5%90%88%E7%9A%84%E6%96%87%E6%9C%AC%EF%BC%8CI am very happy today.%22 +%0A                %22%E6%B5%8B%E8%AF%95TextView%E6%96%87%E6%9C%AC%E5%AF%B9%E9%BD%90%5Cn%5CnAlignTextView%E5%8F%AF%E4%BB%A5%E9%80%9A%E8%BF%87setAlign()%E6%96%B9%E6%B3%95%E8%AE%BE%E7%BD%AE%E6%AF%8F%E4%B8%80%E6%AE%B5%E5%B0%BE%E8%A1%8C%E7%9A%84%E5%AF%B9%E9%BD%90%E6%96%B9%E5%BC%8F,%E9%BB%98%E8%AE%A4%E5%B0%BE%E8%A1%8C%E5%B1%85%E5%B7%A6%E5%AF%B9%E9%BD%90%22 +%0A                %22.CBAlignTextView%E5%8F%AF%E4%BB%A5%E5%83%8F%E5%8E%9F%E7%94%9FTextView%E4%B8%80%E6%A0%B7%E6%93%8D%E4%BD%9C%EF%BC%8C%E4%BD%86%E6%98%AF%E9%9C%80%E8%A6%81%E4%BD%BF%E7%94%A8getRealText()%E8%8E%B7%E5%8F%96%E6%96%87%E6%9C%AC,%E6%AC%A2%E8%BF%8E%E8%AE%BF%E9%97%AEopen.codeboy.me%22;%0A        textViewTv.setText(text + text + text + text + text + text +%0A                text);%0A%0A        textViewTv.setMovementMethod(new ScrollingMovementMethod());%0A    %7D%0A%7D

add an example