Skip to content

Commit

Permalink
0.9.4说明更新
Browse files Browse the repository at this point in the history
  • Loading branch information
cpiz committed Sep 22, 2016
1 parent 099acb7 commit 9a519e0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ allprojects {
}
```

Add `compile 'com.github.cpiz:BubbleView:0.9.3'` to your module-level `build.gradle`
Add `compile 'com.github.cpiz:BubbleView:0.9.4'` to your module-level `build.gradle`
```
dependencies {
...
compile 'com.github.cpiz:BubbleView:0.9.3'
compile 'com.github.cpiz:BubbleView:0.9.4'
}
```

Expand Down Expand Up @@ -140,13 +140,13 @@ Can use BubblePopupWindow to wrap bubble, and show as popup.
* Support close in time

```
View rootView = LayoutInflater.from(this).inflate(R.layout.simple_text_bubble, null);
BubbleTextView bubbleView = (BubbleTextView) rootView.findViewById(R.id.popup_bubble);
window = new BubblePopupWindow(rootView, bubbleView);
window.setCanceledOnTouch(true);
window.setCanceledOnTouchOutside(true);
window.setCanceledOnLater(3000);
window.showArrowTo(v, BubbleStyle.ArrowDirection.Left);
View rootView = LayoutInflater.from(this).inflate(R.layout.simple_text_bubble, null);
BubbleTextView bubbleView = (BubbleTextView) rootView.findViewById(R.id.popup_bubble);
window = new BubblePopupWindow(rootView, bubbleView);
window.setCanceledOnTouch(true);
window.setCanceledOnTouchOutside(true);
window.setCanceledOnLater(3000);
window.showArrowTo(v, BubbleStyle.ArrowDirection.Left);
```

###Misc.
Expand Down
18 changes: 9 additions & 9 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ allprojects {
}
```

在模块目录的 `build.gradle` 中增加 `compile 'com.github.cpiz:BubbleView:0.9.3'`
在模块目录的 `build.gradle` 中增加 `compile 'com.github.cpiz:BubbleView:0.9.4'`
```
dependencies {
...
compile 'com.github.cpiz:BubbleView:0.9.3'
compile 'com.github.cpiz:BubbleView:0.9.4'
}
```

Expand Down Expand Up @@ -141,13 +141,13 @@ dependencies {
* 支持定时关闭

```
View rootView = LayoutInflater.from(this).inflate(R.layout.simple_text_bubble, null);
BubbleTextView bubbleView = (BubbleTextView) rootView.findViewById(R.id.popup_bubble);
window = new BubblePopupWindow(rootView, bubbleView);
window.setCanceledOnTouch(true);
window.setCanceledOnTouchOutside(true);
window.setCanceledOnLater(3000);
window.showArrowTo(v, BubbleStyle.ArrowDirection.Left);
View rootView = LayoutInflater.from(this).inflate(R.layout.simple_text_bubble, null);
BubbleTextView bubbleView = (BubbleTextView) rootView.findViewById(R.id.popup_bubble);
window = new BubblePopupWindow(rootView, bubbleView);
window.setCanceledOnTouch(true);
window.setCanceledOnTouchOutside(true);
window.setCanceledOnLater(3000);
window.showArrowTo(v, BubbleStyle.ArrowDirection.Left);
```


Expand Down

0 comments on commit 9a519e0

Please sign in to comment.