PhotoEditor SDK uses XML for defining the layouts of all its
Activity. There are multiple ways in which you can make changes to our layouts:
Override the style used by the view and provide your attributes to customize the layout. Refer to the theming section in our guides for more information.
All PhotoEditor SDK layouts can be obtained from our demo repository inside the
ressubfolder from the
default_res_filesfolder for the SDK version you are using.
Create a layout resource in your project with the same name as the one used inside the SDK. You can copy the layout from the demo repository and make changes to it as per your requirements. When AAPT comes across the same resource name, it picks the resource declared in your project over the resource declared in the SDK allowing you to replace any resource inside the SDK.
If you want more control over the layout and want to be able to dynamically make changes to it, you can do so by providing your XML, views, and activity as described in the custom views and custom activity sections of our guides.