uCrop icon indicating copy to clipboard operation
uCrop copied to clipboard

title text RTL

Open YarinShitrit opened this issue 2 years ago • 1 comments

how to make the crop title RTL? I put android:supportsRtl="true" in my application tag in Manifest and all my app is RTL except the crop title.. here is my crop code :

 UCrop.of(appViewModel.imageCropUri, appViewModel.imageCropUri)
                    .withAspectRatio(4F, 3F)
                    .withMaxResultSize(1200, 900)
                    .withOptions(UCrop.Options().apply {
                        setCompressionFormat(Bitmap.CompressFormat.PNG)
                        setCompressionQuality(100)
                        setToolbarTitle("חתוך תמונה")
                        setActiveControlsWidgetColor(
                            resources.getColor(
                                R.color.mainLightBlue,
                                null
                            )
                        )

                    })
                    .start(requireContext(), this)

YarinShitrit avatar Jul 09 '21 19:07 YarinShitrit

Hello, @YarinShitrit. I've tried the same in the sample app and it appears to support RTL. Please check the following screenshot: image

Is that something you were expecting? Please provide the details about the issue in the following format for further investigation: **Do you want to request a feature or report a bug?

What is the current behavior?

What is the expected behavior?

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

Please attach any image files, URL and stack trace that can be used to reproduce the bug.

Which versions of uCrop, and which Android API versions are affected by this issue? Did this work in previous versions of uCrop?**

dmitriy1morozov avatar Jan 21 '22 07:01 dmitriy1morozov