操作栏下方有一个编辑文本。我想在recyclerview滚动条上使其可见和不可见。问题是当它变得可见和不可见时,需要花费一些时间来调整其下方的布局,并且此时它正显示背景颜色。那么如何将底视图与动画一起移动到所需位置?
以下是我的代码
<div role="form" class="col-lg-8" id="wpcf7-f4-p7902-o1" dir="ltr" lang="en-US">
<form action="<?php echo $apply_permalink; ?>" method="post">
<?php if($post_saved){ ?>
<div class="alert alert-success">Application Successful.</div>
<?php }?>
<p>
<label> Your Name & Surname (required)<br>
<span class="wpcf7-form-control-wrap your-name">
<input name="your-name" value="" size="40" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" aria-required="true" aria-invalid="false" type="text">
</span>
</label>
</p>
<p>
<label> Your Email (required)<br>
<span class="wpcf7-form-control-wrap your-email">
<input name="your-email" value="" size="40" class="wpcf7-form-control wpcf7-text wpcf7-email wpcf7-validates-as-required wpcf7-validates-as-email" aria-required="true" aria-invalid="false" type="email">
</span>
</label>
</p>
<p>
<label> Your Cell Number<br>
<span class="wpcf7-form-control-wrap">
<input name="your-cell" value="" size="40" class="wpcf7-form-control wpcf7-text wpcf7-email wpcf7-validates-as-required wpcf7-validates-as-number" aria-required="true" aria-invalid="false" type="text">
</span>
</label>
</p>
<p>
<input value="Apply" class="wpcf7-form-control" type="submit">
</p>
</form>
</div>
我已经使用了此属性
android:animateLayoutChanges =“ true”
我确实尝试过几个比例动画,但是没有给出期望的输出。 我想隐藏
@ + id / ll_toolbar
因此,当尝试尝试view.hide时,它会暂时显示ll_toolbar父级的背景颜色,然后在其下方的布局进行调整。一口气做完这整个过程? 谢谢