Skip to content

Instantly share code, notes, and snippets.

View tiger1990's full-sized avatar

Deepak Panwar tiger1990

  • Mumbai
View GitHub Profile
@tiger1990
tiger1990 / MyTabLayout.kt
Created February 23, 2020 15:24
Custom Tab Layout
class MyTabLayout : TabLayout {
private val mTitles: MutableList<String> = arrayListOf()
private var mUnselectedTypeFace: Typeface? = null
constructor(context: Context?) : super(context) {
init(context, null)
}
constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs) {
init(context, attrs)