mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-23 21:55:57 +03:00
Linting fixes: extend AppCompat classes
This commit is contained in:
parent
6940ad3fd9
commit
e30b1de100
2 changed files with 4 additions and 3 deletions
|
@ -4,11 +4,12 @@ import android.content.Context
|
|||
import android.os.Parcelable
|
||||
import android.util.AttributeSet
|
||||
import android.widget.SeekBar
|
||||
import androidx.appcompat.widget.AppCompatSeekBar
|
||||
import eu.kanade.tachiyomi.R
|
||||
import kotlin.math.abs
|
||||
|
||||
class NegativeSeekBar @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null) :
|
||||
SeekBar(context, attrs) {
|
||||
AppCompatSeekBar(context, attrs) {
|
||||
|
||||
private var minValue: Int = 0
|
||||
private var maxValue: Int = 0
|
||||
|
|
|
@ -4,12 +4,12 @@ import android.content.Context
|
|||
import android.graphics.Canvas
|
||||
import android.graphics.Typeface
|
||||
import android.util.AttributeSet
|
||||
import android.widget.TextView
|
||||
import androidx.appcompat.widget.AppCompatTextView
|
||||
import eu.kanade.tachiyomi.R
|
||||
import java.util.HashMap
|
||||
|
||||
class PTSansTextView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null) :
|
||||
TextView(context, attrs) {
|
||||
AppCompatTextView(context, attrs) {
|
||||
|
||||
companion object {
|
||||
const val PTSANS_NARROW = 0
|
||||
|
|
Loading…
Reference in a new issue