mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-06-15 20:09:19 +00:00
Improve: Overall text appearance
This commit is contained in:
@ -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 {
|
||||
|
@ -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(
|
||||
|
Reference in New Issue
Block a user