mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-22 04:59:34 +01:00
Update messages text size
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
5aad6067c2
commit
110ac03471
@ -88,7 +88,7 @@ open class ChatPresenter<T : Any>(context: Context, private val onElementClickPa
|
||||
if (TextMatchers.isMessageWithSingleEmoticonOnly(it.text)) {
|
||||
holder.itemView.chatMessage.setTextSize(TypedValue.COMPLEX_UNIT_SP, 24f)
|
||||
} else {
|
||||
holder.itemView.chatMessage.setTextSize(TypedValue.COMPLEX_UNIT_SP, 12f)
|
||||
holder.itemView.chatMessage.setTextSize(TypedValue.COMPLEX_UNIT_SP, 14f)
|
||||
}
|
||||
|
||||
if (shouldShowNameAndAvatar) {
|
||||
@ -112,7 +112,7 @@ open class ChatPresenter<T : Any>(context: Context, private val onElementClickPa
|
||||
">_",
|
||||
context.resources.getColor(R.color.black)
|
||||
)
|
||||
holder.itemView.authorAvatar.load(drawable)
|
||||
holder.itemView.authorAvatar.loadAny(drawable, imageLoader.getImageLoader())
|
||||
} else {
|
||||
imageLoader.loadImage(holder.itemView.authorAvatar, it.user.avatar)
|
||||
}
|
||||
|
@ -62,7 +62,7 @@
|
||||
android:layout_alignStart="@id/quotedAuthor"
|
||||
android:layout_below="@id/quotedPreviewImage"
|
||||
android:autoLink="all"
|
||||
android:textSize="12sp"
|
||||
android:textSize="14sp"
|
||||
tools:text="Just another chat message" />
|
||||
|
||||
<TextView
|
||||
@ -72,7 +72,7 @@
|
||||
android:layout_below="@id/quotedChatText"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:textAlignment="textEnd"
|
||||
android:textSize="10sp"
|
||||
android:textSize="12sp"
|
||||
tools:text="12:30" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
@ -58,7 +58,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="40dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:textSize="12sp"
|
||||
android:textSize="14sp"
|
||||
android:id="@+id/chatMessage"
|
||||
android:autoLink="all"
|
||||
android:layout_below="@id/previewImage"
|
||||
@ -78,7 +78,7 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/chatMessage"
|
||||
android:textSize="10sp"
|
||||
android:textSize="12sp"
|
||||
android:layout_above="@id/failedToSendNotice"
|
||||
android:layout_toStartOf="@id/sendingProgressBar"
|
||||
android:layout_alignWithParentIfMissing="true"
|
||||
|
Loading…
Reference in New Issue
Block a user