From 1cdb371c307a8b4057120677b06aa7ba96339dda Mon Sep 17 00:00:00 2001 From: rightnao Date: Thu, 10 Nov 2022 15:13:27 -0500 Subject: [PATCH] [BottomSheet] Update motion attributes for bottom sheet dialog animation PiperOrigin-RevId: 487605720 --- .../res/anim-v21/m3_bottom_sheet_slide_in.xml | 29 +++++++++++++++++++ .../anim-v21/m3_bottom_sheet_slide_out.xml | 29 +++++++++++++++++++ .../res/anim/m3_bottom_sheet_slide_in.xml | 29 +++++++++++++++++++ .../res/anim/m3_bottom_sheet_slide_out.xml | 29 +++++++++++++++++++ .../bottomsheet/res/values/styles.xml | 5 ++++ .../bottomsheet/res/values/themes_base.xml | 6 ++-- 6 files changed, 124 insertions(+), 3 deletions(-) create mode 100644 lib/java/com/google/android/material/bottomsheet/res/anim-v21/m3_bottom_sheet_slide_in.xml create mode 100644 lib/java/com/google/android/material/bottomsheet/res/anim-v21/m3_bottom_sheet_slide_out.xml create mode 100644 lib/java/com/google/android/material/bottomsheet/res/anim/m3_bottom_sheet_slide_in.xml create mode 100644 lib/java/com/google/android/material/bottomsheet/res/anim/m3_bottom_sheet_slide_out.xml diff --git a/lib/java/com/google/android/material/bottomsheet/res/anim-v21/m3_bottom_sheet_slide_in.xml b/lib/java/com/google/android/material/bottomsheet/res/anim-v21/m3_bottom_sheet_slide_in.xml new file mode 100644 index 00000000000..3e0bb9289e6 --- /dev/null +++ b/lib/java/com/google/android/material/bottomsheet/res/anim-v21/m3_bottom_sheet_slide_in.xml @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/lib/java/com/google/android/material/bottomsheet/res/anim-v21/m3_bottom_sheet_slide_out.xml b/lib/java/com/google/android/material/bottomsheet/res/anim-v21/m3_bottom_sheet_slide_out.xml new file mode 100644 index 00000000000..e67b0dacf89 --- /dev/null +++ b/lib/java/com/google/android/material/bottomsheet/res/anim-v21/m3_bottom_sheet_slide_out.xml @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/lib/java/com/google/android/material/bottomsheet/res/anim/m3_bottom_sheet_slide_in.xml b/lib/java/com/google/android/material/bottomsheet/res/anim/m3_bottom_sheet_slide_in.xml new file mode 100644 index 00000000000..3e0bb9289e6 --- /dev/null +++ b/lib/java/com/google/android/material/bottomsheet/res/anim/m3_bottom_sheet_slide_in.xml @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/lib/java/com/google/android/material/bottomsheet/res/anim/m3_bottom_sheet_slide_out.xml b/lib/java/com/google/android/material/bottomsheet/res/anim/m3_bottom_sheet_slide_out.xml new file mode 100644 index 00000000000..e67b0dacf89 --- /dev/null +++ b/lib/java/com/google/android/material/bottomsheet/res/anim/m3_bottom_sheet_slide_out.xml @@ -0,0 +1,29 @@ + + + + + + + + + diff --git a/lib/java/com/google/android/material/bottomsheet/res/values/styles.xml b/lib/java/com/google/android/material/bottomsheet/res/values/styles.xml index 843f51ae17d..b36751acffa 100644 --- a/lib/java/com/google/android/material/bottomsheet/res/values/styles.xml +++ b/lib/java/com/google/android/material/bottomsheet/res/values/styles.xml @@ -83,6 +83,11 @@ @dimen/m3_bottom_sheet_modal_elevation + +