CanHub / Android-Image-Cropper

Image Cropping Library for Android, optimised for Camera / Gallery.
Apache License 2.0
1.24k stars 255 forks source link

Toolbar is not shown #566

Closed AiSa639 closed 1 year ago

AiSa639 commented 1 year ago

supportActionBar is not being shown. Here is options:

CropImageOptions( imageSourceIncludeCamera = includeCamera, imageSourceIncludeGallery = includeGallery, guidelines = CropImageView.Guidelines.ON_TOUCH, fixAspectRatio = true, aspectRatioX = 4, aspectRatioY = 3, activityTitle = "activityTitle", cropMenuCropButtonTitle = "cropMenuCropButtonTitle", backgroundColor = colorCompat(R.color.color_black), toolbarColor = colorCompat(R.color.textBrand), toolbarTintColor = colorCompat(R.color.textBrand) )

Am I missing some parameter in options?

telegram-cloud-photo-size-2-5352716753895016857-y

vanniktech commented 1 year ago

Please have a look at the sample app.

hiteshsarsava commented 1 day ago

@vanniktech Atleast Add some example to roll own activity. Also Add disclaimer in notes with Bold Letters. I wasted 2 hours for this. Because I am using No Action bar Activity Theme in App. Now these days all the devs using this practice.