Headers text color inside IMDN Fragment

This commit is contained in:
Christophe Deschamps 2023-02-01 15:18:38 +01:00
parent b418aa2732
commit 4ff06f8494

View file

@ -2,6 +2,7 @@
<layout xmlns:android="http://schemas.android.com/apk/res/android"> <layout xmlns:android="http://schemas.android.com/apk/res/android">
<data> <data>
<import type="androidx.core.content.ContextCompat"/>
<variable <variable
name="title" name="title"
type="Integer" /> type="Integer" />
@ -27,7 +28,7 @@
<TextView <TextView
android:text="@{title, default=@string/chat_message_imdn_displayed}" android:text="@{title, default=@string/chat_message_imdn_displayed}"
android:textColor="@{textColor}" android:textColor="@{ContextCompat.getColor(context,textColor)}"
android:textSize="15sp" android:textSize="15sp"
android:textStyle="bold" android:textStyle="bold"
android:layout_width="wrap_content" android:layout_width="wrap_content"