diff --git a/Habitica/res/anim/bottom_sheet_slide_in.xml b/Habitica/res/anim/bottom_sheet_slide_in.xml new file mode 100644 index 000000000..df4e1bb9a --- /dev/null +++ b/Habitica/res/anim/bottom_sheet_slide_in.xml @@ -0,0 +1,13 @@ + + + + \ No newline at end of file diff --git a/Habitica/res/anim/bottom_sheet_slide_out.xml b/Habitica/res/anim/bottom_sheet_slide_out.xml new file mode 100644 index 000000000..c436df8c7 --- /dev/null +++ b/Habitica/res/anim/bottom_sheet_slide_out.xml @@ -0,0 +1,14 @@ + + + + + \ No newline at end of file diff --git a/Habitica/res/layout/dialog_pet_suggest_hatch.xml b/Habitica/res/layout/dialog_pet_suggest_hatch.xml index d64694e68..cda6fe648 100644 --- a/Habitica/res/layout/dialog_pet_suggest_hatch.xml +++ b/Habitica/res/layout/dialog_pet_suggest_hatch.xml @@ -52,7 +52,8 @@ android:id="@+id/shimmer_view" android:layout_width="wrap_content" android:layout_height="wrap_content" - app:shimmer_repeat_delay="8000" + app:shimmer_repeat_delay="4000" + app:shimmer_duration="200" app:shimmer_base_color="@color/text_dimmed" app:shimmer_highlight_color="@color/content_background" app:shimmer_highlight_alpha="0.8"> diff --git a/Habitica/res/values/styles.xml b/Habitica/res/values/styles.xml index 12f61b3ee..3658c900a 100644 --- a/Habitica/res/values/styles.xml +++ b/Habitica/res/values/styles.xml @@ -908,6 +908,7 @@ 0.3 @null true + @style/SheetDialogAnimations @style/Widget.App.BottomSheet.Modal @color/brand @@ -918,6 +919,11 @@ @color/brand_400 + +