Skip to content

Commit

Permalink
Merge pull request #5 from sakebook/swipe_up
Browse files Browse the repository at this point in the history
Swipe up
  • Loading branch information
sakebook committed Sep 18, 2014
2 parents deb0754 + 51db255 commit e07e7a0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
Binary file modified apk/demo-debug.apk
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
/**
* Copyright (C) 2014 Shinya Sakemoto
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.sakebook.android.library.reachability;

import android.animation.ObjectAnimator;
Expand Down Expand Up @@ -370,6 +355,9 @@ public boolean onTouch(View v, MotionEvent event) {
if ((endY - startY) > THRESHOLD) {
showStatusBar();
}
if ((startY - endY) > THRESHOLD) {
switchBack();
}
}
return false;
}
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION_NAME=0.1.0
VERSION_CODE=2
VERSION_NAME=0.2.0
VERSION_CODE=3
GROUP=com.github.sakebook

POM_DESCRIPTION=Easy access on top.
Expand Down

0 comments on commit e07e7a0

Please sign in to comment.