aliab / Persian-Date-Picker-Dialog

Persian Date Picker Dialog for Android
298 stars 68 forks source link

RTL/LTR and AndroidX issues #33

Closed sobimor closed 4 years ago

sobimor commented 5 years ago

Dialog layout direction is wrong when local is "fa" (Year at right side, Day at left side) and in next release please migrate it to AndroidX.

sobimor commented 5 years ago

For solving RTL/LTR in "fa" local :

  1. setLocal to "en" before initialize
  2. setLocal to "fa" in onDateSelected and onDismissed
aliab commented 4 years ago

Thank you for your report. this issue has been fixed in version 1.5.0

HJaliliani commented 4 years ago

This is a bug in androidx appcompat 1.1.0, I fixed it & created a pull request @aliab @sobimor

aliab commented 4 years ago

@HJaliliani it was just an issue with RTL in a linearlayout. because developer set 'fa' local, every layout change to RTL mode and that was an issue.