高度调整

This commit is contained in:
yangyakun
2022-07-04 15:40:10 +08:00
parent b460d61c48
commit 124ed6e965
2 changed files with 3 additions and 8 deletions

View File

@@ -306,7 +306,7 @@ class TaxiPassengerArrivedView :RelativeLayout, View.OnClickListener {
private fun startChangeHeightAnimarion() {
// 815 除了 点评的高度
val resizeAnimation = ResizeAnimation(clCommentContain,815+rvCommentList.height, clCommentContain.height)
val resizeAnimation = ResizeAnimation(clCommentContain,832+rvCommentList.height, clCommentContain.height)
resizeAnimation.duration = 300
resizeAnimation.setAnimationListener(object :Animation.AnimationListener{
override fun onAnimationStart(animation: Animation?) {

View File

@@ -200,8 +200,6 @@
app:layout_constraintTop_toBottomOf="@+id/iv_star_hide"
android:layout_marginTop="50px"
android:visibility="invisible"
android:layout_marginStart="@dimen/dp_53"
android:layout_marginEnd="@dimen/dp_53"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
@@ -214,13 +212,10 @@
app:layout_constraintTop_toBottomOf="@+id/rv_comment_list"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:background="@drawable/taxi_p_comment_submit"
android:textSize="@dimen/sp_42"
android:layout_marginTop="66px"
android:layout_marginBottom="109px"
android:paddingTop="31px"
android:paddingBottom="31px"
android:height="120px"
android:layout_marginTop="33px"
android:layout_width="450px"
android:layout_height="wrap_content"/>