use a bit smaller font size around vcards
This commit is contained in:
parent
4f89f5ea14
commit
d95985841a
4 changed files with 6 additions and 5 deletions
|
|
@ -58,7 +58,7 @@ class VCardViewerAdapter(
|
||||||
item_contact_name.apply {
|
item_contact_name.apply {
|
||||||
text = name
|
text = name
|
||||||
setTextColor(textColor)
|
setTextColor(textColor)
|
||||||
setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize * 1.2f)
|
setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize * 1.1f)
|
||||||
}
|
}
|
||||||
item_contact_image.apply {
|
item_contact_image.apply {
|
||||||
val photo = item.vCard.photos.firstOrNull()
|
val photo = item.vCard.photos.firstOrNull()
|
||||||
|
|
@ -108,7 +108,7 @@ class VCardViewerAdapter(
|
||||||
item_vcard_property_title.apply {
|
item_vcard_property_title.apply {
|
||||||
text = property.value
|
text = property.value
|
||||||
setTextColor(textColor)
|
setTextColor(textColor)
|
||||||
setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize * 1.2f)
|
setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize * 1.1f)
|
||||||
}
|
}
|
||||||
item_vcard_property_subtitle.apply {
|
item_vcard_property_subtitle.apply {
|
||||||
text = property.type
|
text = property.type
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,8 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="@dimen/normal_margin"
|
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_constraintStart_toEndOf="@id/vcard_photo"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:text="Bob" />
|
tools:text="Bob" />
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:paddingStart="@dimen/medium_margin"
|
android:paddingStart="@dimen/medium_margin"
|
||||||
android:paddingEnd="@dimen/activity_margin"
|
android:paddingEnd="@dimen/activity_margin"
|
||||||
android:textSize="@dimen/big_text_size"
|
android:textSize="@dimen/bigger_text_size"
|
||||||
tools:text="John Doe" />
|
tools:text="John Doe" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:textSize="@dimen/big_text_size"
|
android:textSize="@dimen/bigger_text_size"
|
||||||
tools:text="John Doe" />
|
tools:text="John Doe" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue