Skip to content

Commit

Permalink
fully switched to jitpack
Browse files Browse the repository at this point in the history
use decelerate animation for quick return
  • Loading branch information
mariotaku committed Mar 26, 2015
1 parent 13f3329 commit 4f34fb4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 12 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
@@ -1,3 +0,0 @@
[submodule "libraries/ColorPicker"]
path = libraries/ColorPicker
url = https://github.com/uucky/ColorPicker-Android.git
1 change: 0 additions & 1 deletion libraries/ColorPicker
Submodule ColorPicker deleted from 30dd3c
5 changes: 1 addition & 4 deletions settings.gradle
Expand Up @@ -11,7 +11,4 @@ include ':twidere.donate.nyanwp.wear'
include ':twidere.component.nyan'
include ':twidere.extension.streaming'
include ':twidere.extension.twitlonger'
include ':twidere.extension.push.xiaomi'
include ':ColorPicker'

project(':ColorPicker').projectDir = file('libraries/ColorPicker/library')
include ':twidere.extension.push.xiaomi'
2 changes: 1 addition & 1 deletion twidere/build.gradle
Expand Up @@ -75,13 +75,13 @@ dependencies {
compile 'com.github.mariotaku:MessageBubbleView:1.0'
compile 'com.github.mariotaku:DragSortListView:0.6.1'
compile 'com.github.mariotaku:SlidingMenu:1.3'
compile 'com.github.uucky:ColorPicker-Android:0.9.1'
googleCompile 'com.google.android.gms:play-services-maps:7.0.0'
googleCompile 'com.google.maps.android:android-maps-utils:0.3.4'
fdroidCompile 'org.osmdroid:osmdroid-android:4.3'
fdroidCompile 'org.slf4j:slf4j-simple:1.7.10'
compile project(':twidere.component.common')
compile project(':twidere.component.nyan')
compile project(':ColorPicker')
compile fileTree(dir: 'libs/main', include: ['*.jar'])
googleCompile fileTree(dir: 'libs/google', include: ['*.jar'])
}
Expand Up @@ -59,6 +59,7 @@
import android.view.ViewGroup.MarginLayoutParams;
import android.view.Window;
import android.view.WindowManager;
import android.view.animation.DecelerateInterpolator;
import android.widget.FrameLayout;
import android.widget.FrameLayout.LayoutParams;
import android.widget.Toast;
Expand Down Expand Up @@ -233,6 +234,7 @@ public void setControlBarVisibleAnimate(boolean visible) {
if (offset <= 0) return;
animator = ObjectAnimator.ofFloat(this, ControlBarOffsetProperty.SINGLETON, offset, 0);
}
animator.setInterpolator(new DecelerateInterpolator());
animator.addListener(this);
animator.setDuration(DURATION);
animator.start();
Expand Down
5 changes: 2 additions & 3 deletions twidere/src/main/res/values/strings.xml
Expand Up @@ -56,7 +56,6 @@
<string name="unfavorite">Unfavorite</string>
<string name="reply">Reply</string>
<string name="share">Share</string>
<string name="share_via_twidere">Share via Twidere</string>
<string name="view_image">Image</string>
<string name="view_map">Map</string>
<string name="view_status">View tweet</string>
Expand Down Expand Up @@ -100,8 +99,8 @@
<string name="users_favorited_this">Users favorited this</string>
<string name="reply_to">Reply to <xliff:g id="user_name">%s</xliff:g></string>
<string name="quote_user">Quote <xliff:g id="user_name">%s</xliff:g></string>
<string name="time_source"><xliff:g id="time">%1$s</xliff:g>, via <xliff:g id="source">%2$s</xliff:g></string>
<string name="source">via <xliff:g id="source">%s</xliff:g></string>
<string name="time_source"><xliff:g id="time">%1$s</xliff:g> · <xliff:g id="source">%2$s</xliff:g></string>
<string name="source"><xliff:g id="source">%s</xliff:g></string>
<string name="filters">Filters</string>
<string name="users">Users</string>
<string name="user">User</string>
Expand Down

0 comments on commit 4f34fb4

Please sign in to comment.