Popularity
2.5
Declining
Activity
0.0
Stable
104
3
19

Programming language: Java

PathEffectTextView alternatives and similar packages

Based on the "TextView/EditText Widget" category

Do you think we are missing an alternative of PathEffectTextView or a related project?

Add another 'TextView/EditText Widget' Package

README

Screenshot

Please waiting for loading the gif...

How to use

Step 1: add denpendence

compile('com.dk.view.patheffect:Library:0.1.1@aar')

If you are still using Eclipse, you can just copy source code or jar file to you project.

Step 2: add view to your layout:

<com.dk.view.patheffect.PathTextView
    android:id="@+id/path"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"/>

step 3: call init method like this:

PathTextView mPathTextView = (PathTextView) findViewById(R.id.path);
mPathTextView.init("Hello World");

Option settings:

mPathTextView.setPaintType(PathTextView.Type.MULTIPLY);
mPathTextView.setTextColor(color);
mPathTextView.setTextSize(size);
mPathTextView.setTextWeight(weight);
mPathTextView.setDuration(duration);
mPathTextView.setShadow(radius, dx, dy, shadowColor);

NOTE

License

Copyright 2015 Dean Ding

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Developed By

Dean 93440331@qq.com

Weibo:http://weibo.com/u/2699012760


*Note that all licence references and agreements mentioned in the PathEffectTextView README section above are relevant to that project's source code only.