Skip to content

Commit fd6cb31

Browse files
committed
基本完成,加了一些注释
1 parent 02b4ec6 commit fd6cb31

File tree

6 files changed

+469
-133
lines changed

6 files changed

+469
-133
lines changed

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Loadingbutton/src/main/java/com/flod/loadingbutton/DrawableTextView.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
public class DrawableTextView extends AppCompatTextView {
3434

3535
@IntDef({POSITION.START, POSITION.TOP, POSITION.END, POSITION.BOTTOM})
36-
@interface POSITION {
36+
public @interface POSITION {
3737
int START = 0;
3838
int TOP = 1;
3939
int END = 2;
@@ -244,13 +244,6 @@ public void setText(CharSequence text, BufferType type) {
244244
super.setText(text, type);
245245
measureTextWidth();
246246
measureTextHeight();
247-
248-
/*Log.d("mTextHeight", "Text: " + getText());
249-
Log.d("mTextHeight", "getWidth: " + getWidth());
250-
Log.d("mTextHeight", "getHeight: " + getHeight());
251-
Log.d("mTextHeight", "mTextHeight: " + mTextHeight);
252-
Log.d("mTextHeight", "getLineCount: " + getLineCount());
253-
Log.d("mTextHeight", "getLineHeight: " + getLineHeight());*/
254247
}
255248

256249
/**

0 commit comments

Comments
 (0)