在我的应用程序中,我正在使用Android Activity Slide过渡。我遵循了一个不错的教程,除了我的
所有的组件都有很好的动画效果,但提示在动画开始之前就会弹出,并保持在最终位置。我需要添加一些额外的代码来告诉框架也要对提示进行动画吗?
根据Android开发者文档,它应该可以工作(或者至少不是不支持的)。
我正在使用22.2版本的Support Design库。
如果有人能指点我正确的方向,那就太棒了。
EditText
的提示(包含在InputTextLayout
中)之外,一切都按预期工作。<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/activity_vertical_margin">
<EditText
android:layout_width="match_parent"
android:layout_height="match_parent"
android:hint="Your name"/>
</android.support.design.widget.TextInputLayout>
所有的组件都有很好的动画效果,但提示在动画开始之前就会弹出,并保持在最终位置。我需要添加一些额外的代码来告诉框架也要对提示进行动画吗?
根据Android开发者文档,它应该可以工作(或者至少不是不支持的)。
我正在使用22.2版本的Support Design库。
如果有人能指点我正确的方向,那就太棒了。