Skip to content

Commit

Permalink
Update layout direction of calendar month and days of the week to RTL
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Erfan-Dm committed Oct 13, 2023
1 parent 5d6ed24 commit d677bc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@
android:layout_width="match_parent"
android:layout_height="@dimen/mtrl_calendar_days_of_week_height"
android:horizontalSpacing="@dimen/mtrl_calendar_month_horizontal_padding"
android:layoutDirection="rtl"
android:gravity="center_horizontal"/>
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
android:layout_height="wrap_content"
android:addStatesFromChildren="false"
android:descendantFocusability="afterDescendants"
android:layoutDirection="rtl"
android:gravity="center"
android:horizontalSpacing="@dimen/mtrl_calendar_month_horizontal_padding"
android:listSelector="@android:color/transparent"
Expand Down

0 comments on commit d677bc1

Please sign in to comment.