-1
Speak Devs! I already gave a search, but I could not find something that would help me, anyway... I would like to create a menu similar to that of the image below.
I can get camera and gallery normally, but one function separate from the other! I would like to press to select the photo to have this selection bar for the user to choose where he wants to upload the image.
public void abrirCamera(){
Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
startActivityForResult(takePictureIntent, 1);
}
public void abrirGaleria(){
intent = new Intent();
intent.setType("image/*");
intent.setAction(Intent.ACTION_GET_CONTENT);
startActivityForResult(Intent.createChooser(intent, "Selecione uma imagem"), 2);
}
This may help you: https://github.com/soarcn/BottomSheet
– Valdeir Psr
It’s not quite what I need, but it can help me! Thank you.
– Marcos Vinicius Leão
I wanted to know why the guy gave Downlike on the question and said nothing about the mistake. Lack of respect with beginners!
– Marcos Vinicius Leão
is one of the things that happens most on the site. Unfortunately.
– Valdeir Psr
It always happens, Marcos
– Murillo Comino