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

[Dialogs] Title is aligned to end in RTL

Aperta
#2,575 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@afohrman ci sta già lavorando.

Dal 8/3/2022.

bug Issue: Internationalization Widget: Dialog
Lingua principale
Java
Stelle
17.4k
Fork
3.2k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.