use a bit smaller font size around vcards

This commit is contained in:
tibbi 2022-08-31 12:37:11 +02:00
parent 4f89f5ea14
commit d95985841a
4 changed files with 6 additions and 5 deletions

View File

@ -58,7 +58,7 @@ class VCardViewerAdapter(
item_contact_name.apply {
text = name
setTextColor(textColor)
setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize * 1.2f)
setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize * 1.1f)
}
item_contact_image.apply {
val photo = item.vCard.photos.firstOrNull()
@ -108,7 +108,7 @@ class VCardViewerAdapter(
item_vcard_property_title.apply {
text = property.value
setTextColor(textColor)
setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize * 1.2f)
setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize * 1.1f)
}
item_vcard_property_subtitle.apply {
text = property.type

View File

@ -22,7 +22,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/normal_margin"
android:textSize="@dimen/big_text_size"
android:ellipsize="end"
android:textSize="@dimen/bigger_text_size"
app:layout_constraintStart_toEndOf="@id/vcard_photo"
app:layout_constraintTop_toTopOf="parent"
tools:text="Bob" />

View File

@ -40,7 +40,7 @@
android:maxLines="1"
android:paddingStart="@dimen/medium_margin"
android:paddingEnd="@dimen/activity_margin"
android:textSize="@dimen/big_text_size"
android:textSize="@dimen/bigger_text_size"
tools:text="John Doe" />
<ImageView

View File

@ -27,7 +27,7 @@
android:ellipsize="end"
android:gravity="center_vertical"
android:maxLines="1"
android:textSize="@dimen/big_text_size"
android:textSize="@dimen/bigger_text_size"
tools:text="John Doe" />
<TextView