material-components / material-components/material-components-android
[MaterialToolbar] Subtitle is cut off when font-size is increased via accessibility options
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 17.4k
- フォーク
- 3.2k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Description:
When the font-size is increased via the system accessibility settings (fontScale), then the subtitle is being cutoff on the bottom despite using wrap_content on the toolbar.
Expected behavior:
Toolbar should grow in height and keep the default paddings, and center the title/subtitle combo.
Source code:
Android API version:
AFAIK, all versions, I tested on Android 13 and 14.
Material Library version:
`1.11.0
Device:
Pixel 6 (and others)
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リンクされている app/src/main/res/layout/appcontrol_list_fragment.xml と app/src/main/res/values/styles.xml ファイルから始め、Android 13 または 14 でシステムの fontScale を大きくして問題を再現してください。完了条件は、MaterialToolbar が subtitle に合わせて大きくなり、デフォルトの padding を維持し、title/subtitle の組み合わせがクリッピングなしで中央に配置されることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android
- 領域
- mobile
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100