Skip to content

Commit 2a66e6e

Browse files
committed
fix font issues
1 parent 40d284c commit 2a66e6e

3 files changed

Lines changed: 11 additions & 8 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919

2020
<TextView
2121
android:id="@+id/item_package_name"
22+
style="@style/PopupWindow.Title"
2223
android:layout_width="0dp"
2324
android:layout_height="wrap_content"
2425
android:layout_weight="1"
25-
android:fontFamily="?attr/appFontFamilyTitle"
2626
android:textColor="#FFFFFF"
2727
android:textSize="12sp" />
2828

@@ -50,11 +50,11 @@
5050

5151
<TextView
5252
android:id="@+id/item_class_name"
53+
style="@style/PopupWindow.Body"
5354
android:layout_width="0dp"
5455
android:layout_height="wrap_content"
5556
android:layout_marginTop="2dp"
5657
android:layout_weight="1"
57-
android:fontFamily="?attr/appFontFamilyBody"
5858
android:textColor="#E0E0E0"
5959
android:textSize="12sp" />
6060

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,12 @@
5252
android:orientation="horizontal">
5353

5454
<TextView
55-
style="@style/NonInteractiveText"
55+
style="@style/PopupWindow.Body"
5656
android:layout_width="80dp"
5757
android:layout_height="match_parent"
5858
android:layout_marginTop="1dp"
5959
android:layout_marginEnd="1dp"
6060
android:background="#60111111"
61-
android:fontFamily="?attr/appFontFamilyBody"
6261
android:gravity="center"
6362
android:padding="8dp"
6463
android:text="@string/package_label"
@@ -67,11 +66,11 @@
6766

6867
<TextView
6968
android:id="@+id/package_name"
69+
style="@style/PopupWindow.Body"
7070
android:layout_width="match_parent"
7171
android:layout_height="match_parent"
7272
android:layout_marginTop="1dp"
7373
android:background="#60111111"
74-
android:fontFamily="?attr/appFontFamilyBody"
7574
android:padding="8dp"
7675
android:singleLine="false"
7776
android:textColor="#FFFFFF"
@@ -85,13 +84,12 @@
8584
android:orientation="horizontal">
8685

8786
<TextView
88-
style="@style/NonInteractiveText"
87+
style="@style/PopupWindow.Body"
8988
android:layout_width="80dp"
9089
android:layout_height="match_parent"
9190
android:layout_marginTop="1dp"
9291
android:layout_marginEnd="1dp"
9392
android:background="#60111111"
94-
android:fontFamily="?attr/appFontFamilyBody"
9593
android:gravity="center"
9694
android:padding="8dp"
9795
android:text="@string/class_label"
@@ -100,11 +98,11 @@
10098

10199
<TextView
102100
android:id="@+id/class_name"
101+
style="@style/PopupWindow.Body"
103102
android:layout_width="match_parent"
104103
android:layout_height="match_parent"
105104
android:layout_marginTop="1dp"
106105
android:background="#60111111"
107-
android:fontFamily="?attr/appFontFamilyBody"
108106
android:padding="8dp"
109107
android:singleLine="false"
110108
android:textColor="#FFFFFF"

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@
8585
<item name="fontFamily">?attr/appFontFamilyTitle</item>
8686
</style>
8787

88+
<style name="PopupWindow.Body" parent="@style/NonInteractiveText">
89+
<item name="android:fontFamily">?attr/appFontFamilyBody</item>
90+
<item name="fontFamily">?attr/appFontFamilyBody</item>
91+
</style>
92+
8893
<style name="Material.ToolbarTitle" parent="@style/TextAppearance.Material3.TitleLarge">
8994
<item name="android:fontFamily">?attr/appFontFamilyTitle</item>
9095
<item name="fontFamily">?attr/appFontFamilyTitle</item>

0 commit comments

Comments
 (0)