You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to make the border of fliptabs as per the value I enter. I also want the text inside the fliptabs to be customisable like text size, text style, fontfamily,etc. There is also the problem in size as whenever I try to make it small it cuts from all sides. It will be a pleasure if you solve these problems. Thank You.
The text was updated successfully, but these errors were encountered:
Border width can be set programmatically using setBorderWidth or as an xml attribute app:borderWidth .
Text can be customized by getting the TextViews & applying necessary changes programmatically.
Eg:
//Modify properties of the textviews used in FlipTab
fliptab.getTextViews().forEach {
it.setTypeface(it.typeface, Typeface.ITALIC)
}
//Or modify a specific textview
fliptab.getSelectedTextView().apply {
setTypeface(typeface, Typeface.BOLD)
}
// Similarly, fliptab.getLeftTextView() & fliptab.getRightTextView() can be used
I want to make the border of fliptabs as per the value I enter. I also want the text inside the fliptabs to be customisable like text size, text style, fontfamily,etc. There is also the problem in size as whenever I try to make it small it cuts from all sides. It will be a pleasure if you solve these problems. Thank You.
The text was updated successfully, but these errors were encountered: