material-components / material-components/material-components-android
[MaterialRadioButton] App centerIfNoTextEnabled like checkboxes
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 17.4k
- フォーク
- 3.2k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Is your feature request related to a problem? Please describe.
By default MaterialCheckBox will center if there is no content using the centerIfNoTextEnabled property. Oddly this was never added for MaterialRadioButton
<com.google.android.material.radiobutton.MaterialRadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<com.google.android.material.checkbox.MaterialCheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
We also happily accept pull requests.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず MaterialRadioButton と MaterialCheckBox を比較し、チェックボックスにおける既存の centerIfNoTextEnabled の動作を追跡します。対応するラジオボタンのエントリポイントを特定し、コンポーネントに既存の Android テストで結果を検証します。テキストのない MaterialRadioButton が同等のプロパティによってコントロールを中央揃えできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android
- 領域
- mobile
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100