summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorTyler Nijmeh <tylernij@gmail.com>2021-03-31 00:40:16 -0700
committerTyler Nijmeh <tylernij@gmail.com>2021-03-31 00:40:16 -0700
commit9ce17e0dc3e17c3a640363247667409e67ca68ae (patch)
treecb23d8c4ac9d726642fd1c8610015e9c662b65ee /app/src/main/res
parent633e1baf2be1e3eb4bc7cf8d1066416d0bd8c69e (diff)
Animate profile application
Signed-off-by: Tyler Nijmeh <tylernij@gmail.com>
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/anim/press.xml11
-rw-r--r--app/src/main/res/layout/recycler_item_profile.xml1
2 files changed, 11 insertions, 1 deletions
diff --git a/app/src/main/res/anim/press.xml b/app/src/main/res/anim/press.xml
new file mode 100644
index 0000000..6a7ab7a
--- /dev/null
+++ b/app/src/main/res/anim/press.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<scale xmlns:android="http://schemas.android.com/apk/res/android"
+ android:pivotY="50%"
+ android:pivotX="50%"
+ android:fromXScale="1.0"
+ android:fromYScale="1.0"
+ android:toXScale="0.9"
+ android:toYScale="0.9"
+ android:duration="150"
+ android:repeatMode="reverse"
+ android:repeatCount="1" /> \ No newline at end of file
diff --git a/app/src/main/res/layout/recycler_item_profile.xml b/app/src/main/res/layout/recycler_item_profile.xml
index 6db4ac0..65e66e1 100644
--- a/app/src/main/res/layout/recycler_item_profile.xml
+++ b/app/src/main/res/layout/recycler_item_profile.xml
@@ -5,7 +5,6 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_marginHorizontal="12dp"
android:layout_marginTop="12dp"
- app:cardCornerRadius="10dp"
app:cardBackgroundColor="@color/green">
<LinearLayout
android:layout_width="match_parent"