Skip to content
This repository was archived by the owner on Nov 21, 2024. It is now read-only.

Commit cb52ebd

Browse files
committed
Add lineHeight to text scale textAppearance defs
Change-Id: I73cad74c0da6e5e4bad8e9176ed472a9d0dfbf64
1 parent c3bc0bd commit cb52ebd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/src/main/res/layout/fragment_email.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@
122122
app:layout_constraintStart_toStartOf="parent"
123123
app:layout_constraintTop_toBottomOf="@id/sender_profile_image_view"
124124
android:text="@{email.body}"
125-
android:textAppearance="?attr/textAppearanceBody1"
126-
app:lineHeight="24sp" />
125+
android:textAppearance="?attr/textAppearanceBody1" />
127126

128127
<androidx.recyclerview.widget.RecyclerView
129128
android:id="@+id/attachment_recycler_view"

app/src/main/res/values/type.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
<item name="fontFamily">@font/work_sans</item>
4545
<item name="android:textSize">16sp</item>
4646
<item name="android:textColor">@color/color_on_surface_emphasis_high</item>
47+
<item name="lineHeight">24sp</item>
4748
</style>
4849

4950
<style name="TextAppearance.Reply.Body2" parent="TextAppearance.MaterialComponents.Body2">

0 commit comments

Comments
 (0)