Skip to content

Commit

Permalink
添加示例图
Browse files Browse the repository at this point in the history
  • Loading branch information
kingideayou committed Jul 29, 2015
1 parent df5a4b1 commit 9d547c1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/src/main/java/me/next/tagcloud/TagCloudView.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public TagCloudView(Context context, AttributeSet attrs, int defStyleAttr) {

@Override
protected void onLayout(boolean changed, int l, int t, int r, int b) {
// Log.d(TAG, "Child Count : " + getChildCount());
/*
int childWidth;
int childHeight;
Expand Down Expand Up @@ -89,8 +88,6 @@ protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
int heightMode = MeasureSpec.getMode(heightMeasureSpec);
sizeWidth = MeasureSpec.getSize(widthMeasureSpec);
sizeHeight = MeasureSpec.getSize(heightMeasureSpec);
// Log.d(TAG, "getDefaultSize : "+getDefaultSize(0, widthMeasureSpec));
// Log.d(TAG, "widthMode : "+sizeWidth);

//计算 childView 宽高
measureChildren(widthMeasureSpec, heightMeasureSpec);
Expand Down
Binary file added imgs/tag_cloud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9d547c1

Please sign in to comment.