Renaming some ui fields
This commit is contained in:
parent
3deae1101c
commit
1cc26449f3
@ -45,7 +45,7 @@ abstract class RoomPollItem : VectorEpoxyModel<RoomPollItem.Holder>(R.layout.ite
|
|||||||
}
|
}
|
||||||
|
|
||||||
class Holder : VectorEpoxyHolder() {
|
class Holder : VectorEpoxyHolder() {
|
||||||
val date by bind<TextView>(R.id.pollActiveDate)
|
val date by bind<TextView>(R.id.pollDate)
|
||||||
val title by bind<TextView>(R.id.pollActiveTitle)
|
val title by bind<TextView>(R.id.pollTitle)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
android:foreground="?selectableItemBackground">
|
android:foreground="?selectableItemBackground">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/pollActiveDate"
|
android:id="@+id/pollDate"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="32dp"
|
android:layout_marginTop="32dp"
|
||||||
@ -18,19 +18,19 @@
|
|||||||
tools:text="28/06/22" />
|
tools:text="28/06/22" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/pollActiveIcon"
|
android:id="@+id/pollIcon"
|
||||||
android:layout_width="16dp"
|
android:layout_width="16dp"
|
||||||
android:layout_height="16dp"
|
android:layout_height="16dp"
|
||||||
android:layout_marginTop="12dp"
|
android:layout_marginTop="12dp"
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
android:src="@drawable/ic_attachment_poll"
|
android:src="@drawable/ic_attachment_poll"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/pollActiveDate"
|
app:layout_constraintTop_toBottomOf="@id/pollDate"
|
||||||
app:tint="?vctr_content_secondary"
|
app:tint="?vctr_content_secondary"
|
||||||
tools:ignore="ContentDescription" />
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/pollActiveTitle"
|
android:id="@+id/pollTitle"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
@ -38,8 +38,8 @@
|
|||||||
android:textAppearance="@style/TextAppearance.Vector.Subtitle"
|
android:textAppearance="@style/TextAppearance.Vector.Subtitle"
|
||||||
android:textColor="?vctr_content_primary"
|
android:textColor="?vctr_content_primary"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@id/pollActiveIcon"
|
app:layout_constraintStart_toEndOf="@id/pollIcon"
|
||||||
app:layout_constraintTop_toBottomOf="@id/pollActiveDate"
|
app:layout_constraintTop_toBottomOf="@id/pollDate"
|
||||||
tools:text="Which sport should the pupils do this year?" />
|
tools:text="Which sport should the pupils do this year?" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
Loading…
Reference in New Issue
Block a user