Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 57c25410 authored by Ivan Chiang's avatar Ivan Chiang
Browse files

[PM] Set the TextDirection to TEXT_DIRECTION_LOCALE for message

Some translations in RTL languagses does not have correct alignment.
Set View.TEXT_DIRECTION_LOCALE to the custom message textview.

Flag: android.content.pm.verification_service
Bug: 443402343
Test: manual. video.
Change-Id: I6f88664eefee6b671fd02f90ba90e5708b7ee817
parent 770058f6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -107,6 +107,7 @@ public class InstallationFragment extends DialogFragment {
        mIndeterminateProgressBar = dialogView.requireViewById(R.id.indeterminate_progress_bar);
        mProgressBar = dialogView.requireViewById(R.id.progress_bar);
        mCustomMessageTextView = dialogView.requireViewById(R.id.custom_message);
        mCustomMessageTextView.setTextDirection(View.TEXT_DIRECTION_LOCALE);
        mMoreDetailsClickableLayout = dialogView.requireViewById(
                R.id.more_details_clickable_layout);
        mMoreDetailsExpandedLayout = dialogView.requireViewById(