burhanrashid52 / PhotoEditor

A Photo Editor library with simple, easy support for image editing using paints,text,filters,emoji and Sticker like stories.
MIT License
4.09k stars 984 forks source link

Change background of sticker/ text/ card #295

Open LeenD11 opened 3 years ago

LeenD11 commented 3 years ago

Hey! is there a way to change the background of a sticker/ text/ card instead of being transparent? For the text, if we add a background (I tried using the setBackground method with the TextStyleBuilder) but it highlights the text only, I want to change the color of the whole view inside the frame. Hope my point is clear.

basitis commented 3 years ago

@LeenD11 You can do it by modify the library by import as library module. The text and sticker layout is in (res)[https://github.com/burhanrashid52/PhotoEditor/tree/e91baade7b7120c74ecd4f3e82e44383391cd0c9/photoeditor/src/main/res/layout] folder. You can modify as per your need.