mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-05-10 03:49:09 +02:00
properly update the viewpager title strip text color
This commit is contained in:
parent
edb87a52a6
commit
721ea4ef65
@ -69,6 +69,7 @@ class MainActivity : SimpleActivity(), ViewPager.OnPageChangeListener {
|
|||||||
setTextSize(TypedValue.COMPLEX_UNIT_PX, getTextSize())
|
setTextSize(TypedValue.COMPLEX_UNIT_PX, getTextSize())
|
||||||
setGravity(Gravity.CENTER_VERTICAL)
|
setGravity(Gravity.CENTER_VERTICAL)
|
||||||
setNonPrimaryAlpha(0.4f)
|
setNonPrimaryAlpha(0.4f)
|
||||||
|
setTextColor(config.textColor)
|
||||||
}
|
}
|
||||||
updateTextColors(view_pager)
|
updateTextColors(view_pager)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user