ShowTipsView是一款用于显示提示说明的控件
引用
1
| compile 'net.fredericosilva:showTipsView:1.0.1'
|
使用
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| ShowTipsView showtips = new ShowTipsBuilder(this) .setTarget(btn_test) .setTitle("A magnific button") .setDescription("This button do nothing so good") .setDelay(1000) .build();
showtips.show(this);
setTitleColor(int color) setDescriptionColor(int color) setBackgroundColor(int color) setCircleColor(int color)
setTarget(View v, int x, int y, int radius)
showtips.setCallback(new ShowTipsInterface(){ @Override public void gotItClicked() { } });
|
示例
https://github.com/SeniorZhai/ShowTipsView