Set text in xml

This commit is contained in:
Naveen 2022-08-29 15:54:09 +05:30
parent 5c19e0144d
commit ad6abf7ccc
2 changed files with 3 additions and 3 deletions

View File

@ -385,7 +385,6 @@ class ThreadAdapter(
} else {
vcard_subtitle.beGone()
}
vcard_view_contact.text = context.getString(R.string.view_contact_details)
setOnClickListener {
if (actModeCallback.isSelectable) {

View File

@ -46,10 +46,11 @@
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/normal_margin"
android:layout_marginTop="@dimen/small_margin"
android:text="@string/view_contact_details"
android:textColor="@color/color_primary"
android:textSize="@dimen/smaller_text_size"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@id/vcard_photo"
app:layout_constraintTop_toBottomOf="@id/vcard_subtitle"
tools:text="View contact" />
app:layout_constraintTop_toBottomOf="@id/vcard_subtitle" />
</androidx.constraintlayout.widget.ConstraintLayout>