File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
src/main/java/com/kcode/bottomlib Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
2
2
3
3
android {
4
4
compileSdkVersion 25
5
- buildToolsVersion " 25.0.1 "
5
+ buildToolsVersion " 25.0.2 "
6
6
defaultConfig {
7
7
applicationId " com.kcode.bottommenututorial"
8
8
minSdkVersion 14
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
2
2
3
3
android {
4
4
compileSdkVersion 25
5
- buildToolsVersion " 25.0.1 "
5
+ buildToolsVersion " 25.0.2 "
6
6
7
7
defaultConfig {
8
8
minSdkVersion 14
Original file line number Diff line number Diff line change @@ -65,7 +65,9 @@ public void onStart() {
65
65
window .getDecorView ().setOnTouchListener (new View .OnTouchListener () {
66
66
@ Override
67
67
public boolean onTouch (View v , MotionEvent event ) {
68
- dismiss ();
68
+ if (event .getAction () == MotionEvent .ACTION_DOWN ) {
69
+ dismiss ();
70
+ }
69
71
return true ;
70
72
}
71
73
});
You can’t perform that action at this time.
0 commit comments