Renaming some ui fields

This commit is contained in:
Maxime NATUREL 2023-01-04 10:12:34 +01:00
parent 3deae1101c
commit 1cc26449f3
2 changed files with 8 additions and 8 deletions

View file

@ -45,7 +45,7 @@ abstract class RoomPollItem : VectorEpoxyModel<RoomPollItem.Holder>(R.layout.ite
}
class Holder : VectorEpoxyHolder() {
val date by bind<TextView>(R.id.pollActiveDate)
val title by bind<TextView>(R.id.pollActiveTitle)
val date by bind<TextView>(R.id.pollDate)
val title by bind<TextView>(R.id.pollTitle)
}
}

View file

@ -7,7 +7,7 @@
android:foreground="?selectableItemBackground">
<TextView
android:id="@+id/pollActiveDate"
android:id="@+id/pollDate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="32dp"
@ -18,19 +18,19 @@
tools:text="28/06/22" />
<ImageView
android:id="@+id/pollActiveIcon"
android:id="@+id/pollIcon"
android:layout_width="16dp"
android:layout_height="16dp"
android:layout_marginTop="12dp"
android:importantForAccessibility="no"
android:src="@drawable/ic_attachment_poll"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/pollActiveDate"
app:layout_constraintTop_toBottomOf="@id/pollDate"
app:tint="?vctr_content_secondary"
tools:ignore="ContentDescription" />
<TextView
android:id="@+id/pollActiveTitle"
android:id="@+id/pollTitle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
@ -38,8 +38,8 @@
android:textAppearance="@style/TextAppearance.Vector.Subtitle"
android:textColor="?vctr_content_primary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/pollActiveIcon"
app:layout_constraintTop_toBottomOf="@id/pollActiveDate"
app:layout_constraintStart_toEndOf="@id/pollIcon"
app:layout_constraintTop_toBottomOf="@id/pollDate"
tools:text="Which sport should the pupils do this year?" />
</androidx.constraintlayout.widget.ConstraintLayout>