在我的應用程序中,我使用了Android Activity Slide轉換。我跟着a nice tutorial和預期一切正常,除了我EditText
的提示,其中包含一個InputTextLayout
內:EditText在轉換時提示visibile
<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>
所有的元器件都很好的動畫,但暗示動畫開始前剛剛彈出,並保持在最終的位置。我是否還需要添加一些額外的代碼來告訴框架爲這個提示設置動畫呢?
根據the Android developer documentation它應該工作(或至少它不是不受支持)。
我正在使用支持設計庫的22.2版本。
如果有人能指出我正確的方向,那將是很棒的。
注意到Android 5.1.1和Support Library版本23.1.1仍然如此。任何人都找到解決方案? –
不是我。 Sry基因。 :/ – Morosko
這是一個#bug。 –