material-components / material-components/material-components-android
[Dialogs] Title is aligned to end in RTL
@afohrman arbeitet bereits daran.
Seit 08.3.2022.
- Vorherrschende Sprache
- Java
- Sterne
- 17.4k
- Forks
- 3.2k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.

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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.