We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here's my current code:
` @OverRide public CharSequence getPageTitle(int position) { Drawable drawable = new IconDrawable(context, FontAwesomeIcons.fa_android);
drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight()); SpannableString spannableString = new SpannableString(" " + TAB_TITLES[position]); ImageSpan imageSpan = new ImageSpan(drawable, ImageSpan.ALIGN_BOTTOM); spannableString.setSpan(imageSpan, 0, 1, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); return spannableString;
}`
Only text are being shown. I'm using support TabLayout.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here's my current code:
` @OverRide
public CharSequence getPageTitle(int position) {
Drawable drawable = new IconDrawable(context, FontAwesomeIcons.fa_android);
}`
Only text are being shown. I'm using support TabLayout.
The text was updated successfully, but these errors were encountered: