From 48e0e427eb2c8dad36b2fcf93ac020fc6bf39555 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 16 Apr 2020 23:14:35 +0530 Subject: ui: animate fab scale rather than translation Suggested-by: Jason A. Donenfeld Signed-off-by: Harsh Shandilya --- ui/src/main/res/anim/scale_down.xml | 12 ++++++++++++ ui/src/main/res/anim/scale_up.xml | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 ui/src/main/res/anim/scale_down.xml create mode 100644 ui/src/main/res/anim/scale_up.xml (limited to 'ui/src/main/res') diff --git a/ui/src/main/res/anim/scale_down.xml b/ui/src/main/res/anim/scale_down.xml new file mode 100644 index 00000000..2b5f1b74 --- /dev/null +++ b/ui/src/main/res/anim/scale_down.xml @@ -0,0 +1,12 @@ + + + + diff --git a/ui/src/main/res/anim/scale_up.xml b/ui/src/main/res/anim/scale_up.xml new file mode 100644 index 00000000..65a00c07 --- /dev/null +++ b/ui/src/main/res/anim/scale_up.xml @@ -0,0 +1,12 @@ + + + + -- cgit v1.2.3