From 908bb93f82611350411b5bb9790562f9f10a4b79 Mon Sep 17 00:00:00 2001
From: Jules Aguillon
Date: Sun, 15 Dec 2024 11:28:24 +0100
Subject: launcher: Circle gesture animation
---
res/drawable/doc_anim_circle.xml | 38 ++++++++++++++++++++++++++++++
res/layout/launcher_activity.xml | 1 +
srcs/juloo.keyboard2/LauncherActivity.java | 1 +
3 files changed, 40 insertions(+)
create mode 100644 res/drawable/doc_anim_circle.xml
diff --git a/res/drawable/doc_anim_circle.xml b/res/drawable/doc_anim_circle.xml
new file mode 100644
index 0000000..b251fd8
--- /dev/null
+++ b/res/drawable/doc_anim_circle.xml
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/res/layout/launcher_activity.xml b/res/layout/launcher_activity.xml
index f39b968..5ab9384 100644
--- a/res/layout/launcher_activity.xml
+++ b/res/layout/launcher_activity.xml
@@ -5,6 +5,7 @@
+
diff --git a/srcs/juloo.keyboard2/LauncherActivity.java b/srcs/juloo.keyboard2/LauncherActivity.java
index ac6873b..14922b6 100644
--- a/srcs/juloo.keyboard2/LauncherActivity.java
+++ b/srcs/juloo.keyboard2/LauncherActivity.java
@@ -51,6 +51,7 @@ public class LauncherActivity extends Activity implements Handler.Callback
_animations = new ArrayList();
_animations.add(find_anim(R.id.launcher_anim_swipe));
_animations.add(find_anim(R.id.launcher_anim_round_trip));
+ _animations.add(find_anim(R.id.launcher_anim_circle));
_handler = new Handler(getMainLooper(), this);
_handler.sendEmptyMessageDelayed(0, 500);
}
--
cgit v1.2.3