mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 03:12:15 +00:00
Update: Theme Touchups
This commit is contained in:
parent
c3d9967587
commit
5da839e072
@ -356,7 +356,7 @@ class ProductAdapter(private val callbacks: Callbacks, private val columns: Int)
|
||||
init {
|
||||
itemView as TextView
|
||||
itemView.typeface = TypefaceExtra.medium
|
||||
itemView.setTextSizeScaled(15)
|
||||
itemView.setTextSizeScaled(14)
|
||||
itemView.setTextColor(itemView.context.getColorFromAttr(android.R.attr.textColor))
|
||||
itemView.background =
|
||||
ResourcesCompat.getDrawable(
|
||||
|
@ -70,19 +70,15 @@ class ScreenshotsFragment() : DialogFragment() {
|
||||
}
|
||||
|
||||
val background =
|
||||
dialog.context.getColorFromAttr(android.R.attr.colorBackground).defaultColor
|
||||
dialog.context.getColorFromAttr(R.attr.colorSurface).defaultColor
|
||||
decorView?.setBackgroundColor(background.let {
|
||||
ColorUtils.blendARGB(
|
||||
0x00ffffff and it,
|
||||
it,
|
||||
0.9f
|
||||
1f
|
||||
)
|
||||
})
|
||||
decorView?.setPadding(0, 0, 0, 0)
|
||||
background.let { ColorUtils.blendARGB(0x00ffffff and it, it, 0.8f) }.let {
|
||||
window?.statusBarColor = it
|
||||
window?.navigationBarColor = it
|
||||
}
|
||||
if (window != null) {
|
||||
window.attributes = window.attributes.apply {
|
||||
title = ScreenshotsFragment::class.java.name
|
||||
|
@ -39,7 +39,7 @@
|
||||
android:fontFamily="sans-serif-medium"
|
||||
android:singleLine="true"
|
||||
android:textColor="?android:attr/textColor"
|
||||
android:textSize="16sp" />
|
||||
android:textSize="17sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/package_name"
|
||||
@ -55,7 +55,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="2sp"
|
||||
android:singleLine="true"
|
||||
android:textColor="?attr/colorSurface"
|
||||
android:textColor="?attr/colorOnSurface"
|
||||
android:textSize="12sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
Loading…
x
Reference in New Issue
Block a user