From 9ce9913250cb1122f879cb4a59227c02b42075f7 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Mon, 7 Oct 2013 15:35:48 +0200 Subject: Fix animation --- src/de/blinkt/openvpn/LogWindow.java | 4 ++-- vpndialogxposed/AndroidManifest.xml | Bin 1720 -> 0 bytes 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100755 vpndialogxposed/AndroidManifest.xml diff --git a/src/de/blinkt/openvpn/LogWindow.java b/src/de/blinkt/openvpn/LogWindow.java index e21c62b1..11becf9c 100644 --- a/src/de/blinkt/openvpn/LogWindow.java +++ b/src/de/blinkt/openvpn/LogWindow.java @@ -427,12 +427,12 @@ public class LogWindow extends ListActivity implements StateListener, SeekBar.On ObjectAnimator anim; if (optionsVisible) { - anim = ObjectAnimator.ofInt(mOptionsLayout,"alpha",0, mOptionsLayout.getHeight()); + anim = ObjectAnimator.ofFloat(mOptionsLayout,"alpha",1.0f, 0f); anim.addListener(collapseListener); } else { mOptionsLayout.setVisibility(View.VISIBLE); - anim = ObjectAnimator.ofInt(mOptionsLayout,"alpha", mOptionsLayout.getHeight(),0); + anim = ObjectAnimator.ofFloat(mOptionsLayout,"alpha", 0f, 1.0f); //anim = new TranslateAnimation(0.0f, 0.0f, mOptionsLayout.getHeight(), 0.0f); } diff --git a/vpndialogxposed/AndroidManifest.xml b/vpndialogxposed/AndroidManifest.xml deleted file mode 100755 index 23a64bdd..00000000 Binary files a/vpndialogxposed/AndroidManifest.xml and /dev/null differ -- cgit v1.2.3