我是一名有用的助手,可以为您进行文本翻译。以下是需要翻译的内容:
最近,我发现了一个名为 Morning Routine的应用程序,它拥有很棒的动画效果。我印象深刻的是抽屉式滑动菜单上使用的窗帘动画。
它的外观如下:
有人知道如何实现这个动画吗?使用FoldingLayout Library不够流畅,而且与这个完全不同。
最近,我发现了一个名为 Morning Routine的应用程序,它拥有很棒的动画效果。我印象深刻的是抽屉式滑动菜单上使用的窗帘动画。
它的外观如下:
有人知道如何实现这个动画吗?使用FoldingLayout Library不够流畅,而且与这个完全不同。
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<cheesebaron.folding.FoldingLayout
android:id="@+id/fold_view"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<!-- put you curtain layouts here, listview e.t.c -->
</cheesebaron.folding.FoldingLayout>
<!-- put any other layouts here -->
</LinearLayout>
为什么不试一下,看看会发生什么。