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 { } else {
vcard_subtitle.beGone() vcard_subtitle.beGone()
} }
vcard_view_contact.text = context.getString(R.string.view_contact_details)
setOnClickListener { setOnClickListener {
if (actModeCallback.isSelectable) { if (actModeCallback.isSelectable) {

View File

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