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

[Dialogs] Title is aligned to end in RTL

Abierto
#2,575 1 comentario 0 reacciones 1 asignado Ver en GitHub

@afohrman ya está trabajando en esto.

Desde el 8/3/2022.

bug Issue: Internationalization Widget: Dialog
Lenguaje dominante
Java
Estrellas
17.4k
Forks
3.2k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.