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

[Dialogs] Title is aligned to end in RTL

オープン
#2,575 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

@afohrman がすでに取り組んでいます。

2022年3月8日 から。

bug Issue: Internationalization Widget: Dialog
主要言語
Java
スター
17.4k
フォーク
3.2k
PR マージ指標
30日以内にマージされた PR はありません

説明

Description:

Material Alert Dialog Title is aligned to the end (left) in the RTL mode while the body of the alert is correctly aligned .

Expected behavior:

The title should be aligned to the start (Right) in the RTL.

Issue Material desgin

Source code:
MaterialAlertDialogBuilder(requireContext()) .setTitle("إلغاء العملية") .setMessage("هل انت متأكد من انك تريد إلغاء عملية تحميل ${item.title} ؟ ") .setCancelable(false) .setPositiveButton(R.string.ok_label) { dialog, _ -> //TODO:: Do some work dialog.dismiss() } .setNegativeButton(R.string.cancel) { dialog, _ -> dialog.dismiss() } .show()

Android API version:
minSdk 19
targetSdk 31

Material Library version:

1.6.0-alpha02

Device:

Android Emulator Pixel 3a API 30 With Google Play | x86

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。