Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera and gallery tiles do not appear #10

Closed
chebum opened this issue Aug 15, 2018 · 1 comment
Closed

Camera and gallery tiles do not appear #10

chebum opened this issue Aug 15, 2018 · 1 comment

Comments

@chebum
Copy link

chebum commented Aug 15, 2018

Hello,

It seems camera and gallery tiles are broken in version 1.0.1 - they simply do not appear in the image picker.

nocameratile

I checked the build method and both showCameraTile and showGalleryTile properties are set to true:

showcameratile

Here is a snippet I use to display the image picker:

val multiSelectionPicker = BSImagePicker.Builder("com.visualwatermark.fileprovider")
        .isMultiSelect //Set this if you want to use multi selection mode.
        .setMultiSelectBarBgColor(android.R.color.white) //Default: #FFFFFF. You can also set it to a translucent color.
        .setMultiSelectTextColor(R.color.primary_text) //Default: #212121(Dark grey). This is the message in the multi-select bottom bar.
        .setMultiSelectDoneTextColor(R.color.colorAccent) //Default: #388e3c(Green). This is the color of the "Done" TextView.
        .setOverSelectTextColor(R.color.error_text) //Default: #b71c1c. This is the color of the message shown when user tries to select more than maximum select count.
        .disableOverSelectionMessage() //You can also decide not to show this over select message.
        .build()
multiSelectionPicker.show(supportFragmentManager, "picker")
@siralam
Copy link
Owner

siralam commented Aug 15, 2018

@chebum

As actually mentioned in the readme:

But note that BSImagePicker does not allow selection from camera and gallery when in multi selection mode

So it is by design.

@siralam siralam closed this as completed Aug 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants