material-components / material-components/material-components-android

[TabLayout] TabLayout attribute app:tabSelectedTextAppearance

Open
#3,463 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug Widget: Tab
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

app:tabTextAppearance to set normal textSize , but in tab select , app:tabSelectedTextAppearance not work

中文:
TabLayout 提供了 app:tabSelectedTextAppearance 属性 , 但是并不支持 没法设置字体大小等属性

fix bug:
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. First reproduce the TabLayout behavior with app:tabTextAppearance and app:tabSelectedTextAppearance, then trace the TabLayout implementation and existing tests; done means the selected tab applies the requested text attributes, including text size.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.