ankurbhut
ankurbhut
Hello Can you provide me how is possible to show calendar and date selection between start and end date. If you help me then my lot of time will save....
If you want add text as a Sticker. for this add below code. ``` final TextSticker sticker = new TextSticker(this); sticker.setText(view); sticker.setTextColor(Color.BLACK); sticker.setTextAlign(Layout.Alignment.ALIGN_CENTER); sticker.resizeText(); stickerView.addSticker(sticker); ```
For this no programatically solution If you want to do this For only one Solution. First take Drawable Sticker after that take TextSticker.
Yes, But For this you need to add as a module and set size of sticker_transparent_background.xml file.
For this You need to take currentSticker Object like below code. Add this code in Sticker click event. ``` if (stickerView.getCurrentSticker() instanceof TextSticker) { ((TextSticker) stickerView.getCurrentSticker()).setText(view); ((TextSticker) stickerView.getCurrentSticker()).setTextColor(Color.BLACK); ((TextSticker) stickerView.getCurrentSticker()).setTextAlign(Layout.Alignment.ALIGN_CENTER);...
I am use this in double tapped on text sticker. That time i am open writing text dialog and when return from them that time add this code for edit...