diff --git a/src/main/kotlin/com/looker/droidify/screen/ProductAdapter.kt b/src/main/kotlin/com/looker/droidify/screen/ProductAdapter.kt
index d4a53b14..564e982e 100644
--- a/src/main/kotlin/com/looker/droidify/screen/ProductAdapter.kt
+++ b/src/main/kotlin/com/looker/droidify/screen/ProductAdapter.kt
@@ -339,7 +339,7 @@ class ProductAdapter(private val callbacks: Callbacks, private val columns: Int)
val actionTintNormal = action.context.getColorFromAttr(R.attr.colorSurface)
val actionTintCancel = action.context.getColorFromAttr(R.attr.colorError)
- val actionTintOnNormal = action.context.getColorFromAttr(R.attr.colorOnSurface)
+ val actionTintOnNormal = action.context.getColorFromAttr(android.R.attr.textColorPrimary)
val actionTintOnCancel = action.context.getColorFromAttr(R.attr.colorOnError)
init {
@@ -1186,7 +1186,6 @@ class ProductAdapter(private val callbacks: Callbacks, private val columns: Int)
holder.name.text = item.product.name
holder.packageName.apply {
text = item.product.packageName
- setTextSizeScaled(15)
}
val action = action
holder.action.apply {
diff --git a/src/main/kotlin/com/looker/droidify/screen/TabsFragment.kt b/src/main/kotlin/com/looker/droidify/screen/TabsFragment.kt
index fa1e55f2..2415daaf 100644
--- a/src/main/kotlin/com/looker/droidify/screen/TabsFragment.kt
+++ b/src/main/kotlin/com/looker/droidify/screen/TabsFragment.kt
@@ -534,7 +534,6 @@ class TabsFragment : ScreenFragment() {
itemView as MaterialTextView
itemView.gravity = Gravity.CENTER_VERTICAL
itemView.resources.sizeScaled(16).let { itemView.setPadding(it, 0, it, 0) }
- itemView.setTextSizeScaled(16)
itemView.background =
context.getDrawableFromAttr(android.R.attr.selectableItemBackground)
itemView.layoutParams = RecyclerView.LayoutParams(
diff --git a/src/main/res/layout/product_header_item.xml b/src/main/res/layout/product_header_item.xml
index dadad0fe..2a3b4096 100644
--- a/src/main/res/layout/product_header_item.xml
+++ b/src/main/res/layout/product_header_item.xml
@@ -34,16 +34,16 @@
android:id="@+id/name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:fontFamily="sans-serif-medium"
android:singleLine="true"
- android:textSize="17sp" />
+ android:textAppearance="?textAppearanceBody1" />
+ android:textAppearance="?textAppearanceBody2"
+ android:textColor="?android:attr/textColorSecondaryNoDisable" />
diff --git a/src/main/res/layout/product_item.xml b/src/main/res/layout/product_item.xml
index b91fe2e7..7eccb3e0 100644
--- a/src/main/res/layout/product_item.xml
+++ b/src/main/res/layout/product_item.xml
@@ -2,9 +2,9 @@
+ android:layout_height="72dp">
+ android:textAppearance="?textAppearanceBody1" />
+ android:singleLine="true"
+ android:textAppearance="?textAppearanceCaption" />
@@ -55,7 +56,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="true"
- android:textSize="14sp" />
+ android:textColor="?android:attr/textColorSecondaryNoDisable"
+ android:textAppearance="?textAppearanceBody2" />
diff --git a/src/main/res/layout/release_item.xml b/src/main/res/layout/release_item.xml
index aec3a255..e9ac7d7f 100644
--- a/src/main/res/layout/release_item.xml
+++ b/src/main/res/layout/release_item.xml
@@ -78,7 +78,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:singleLine="true"
- android:textColor="?android:attr/textColorSecondary"
+ android:textColor="?android:attr/textColorSecondaryNoDisable"
android:textSize="14sp" />
@@ -97,7 +97,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLines="1"
- android:textColor="?android:attr/textColorSecondary"
+ android:textColor="?android:attr/textColorSecondaryNoDisable"
android:textSize="14sp" />
diff --git a/src/main/res/layout/section_item.xml b/src/main/res/layout/section_item.xml
index f49ae8fa..f0def287 100644
--- a/src/main/res/layout/section_item.xml
+++ b/src/main/res/layout/section_item.xml
@@ -12,9 +12,7 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:fontFamily="sans-serif-medium"
- android:singleLine="true"
- android:textSize="14sp" />
+ android:singleLine="true" />
diff --git a/src/main/res/layout/title_text_item.xml b/src/main/res/layout/title_text_item.xml
index 8424d3a9..1da93e11 100644
--- a/src/main/res/layout/title_text_item.xml
+++ b/src/main/res/layout/title_text_item.xml
@@ -10,6 +10,7 @@
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:textColor="?android:attr/textColorPrimary"
android:textSize="12sp" />