mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-18 23:49:18 +01:00
Update page indicator colors and new Readmangatoday domain
This commit is contained in:
parent
6394388714
commit
25898d34ca
@ -17,7 +17,7 @@ class Readmangatoday : ParsedHttpSource() {
|
||||
|
||||
override val name = "ReadMangaToday"
|
||||
|
||||
override val baseUrl = "http://www.readmanga.today"
|
||||
override val baseUrl = "http://www.readmng.com/"
|
||||
|
||||
override val lang = "en"
|
||||
|
||||
|
@ -15,14 +15,16 @@ import android.widget.TextView
|
||||
class PageIndicatorTextView(context: Context, attrs: AttributeSet? = null) :
|
||||
AppCompatTextView(context, attrs) {
|
||||
|
||||
private val fillColor = Color.rgb(235, 235, 235)
|
||||
private val strokeColor = Color.rgb(45, 45, 45)
|
||||
|
||||
override fun onDraw(canvas: Canvas) {
|
||||
val textColor = textColors.defaultColor
|
||||
textColorField.set(this, Color.BLACK)
|
||||
textColorField.set(this, strokeColor)
|
||||
paint.strokeWidth = 4f
|
||||
paint.style = Paint.Style.STROKE
|
||||
super.onDraw(canvas)
|
||||
|
||||
textColorField.set(this, textColor)
|
||||
textColorField.set(this, fillColor)
|
||||
paint.strokeWidth = 0f
|
||||
paint.style = Paint.Style.FILL
|
||||
super.onDraw(canvas)
|
||||
|
@ -30,7 +30,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|center_horizontal"
|
||||
android:padding="4dp"
|
||||
android:textColor="@color/md_white_1000"
|
||||
android:textStyle="bold" />
|
||||
|
||||
</FrameLayout>
|
||||
|
Loading…
Reference in New Issue
Block a user