How to remove Footer from Aviary Editor?

馋奶兔 提交于 2019-12-13 22:30:44

问题


I'm working on an simple image editor. Aviary's Signup for Aviary Image Editor SDK is disable and it is now coming with Adobe's Creative Sdk. No doubt they are providing so much features, But they are not useful for my simple image editor.

I just want to use some image editing tools like crop and orientation. So I have written the below code in my MainActivity.

    String[] tools = new String[] { "CROP", "ORIENTATION" };        
    Intent newIntent = new AviaryIntent.Builder(this)
            .setData(imageUri)                            // input image src
            .withOutput(Uri.parse("file://" + "abc.jpg")) // output file
            .withOutputFormat(Bitmap.CompressFormat.JPEG) // output format
            .withOutputSize(MegaPixels.Mp5)               // output size
            .withOutputQuality(90)                        // output quality
            .build();
    newIntent.putExtra(Constants.EXTRA_TOOLS_LIST, tools);
    startActivityForResult(newIntent, 1);

The problem is, I want to remove Creative Cloud Connected link in the footer of the editor. Please provide some solution.

Note: It is just a demo app for learning purpose, not for production. We are not going to release it anywhere.

Thanks...


回答1:


As I have worked with Creative SDK, I just learned how to customize UI of the Aviary Editor.

By overriding xml files, you can make changes in Aviary Editor's UI.

I have a simple example below, I made some changes in editor's footer. I just created new xml file aviary_bottombar.xml in app module as following...

You can find the original implementation in exploaded-aar directory of sdk as shown below...

Hope it will help somebody...




回答2:


While it is technically feasible to pull this off, it is against the Creative SDK Terms of Use to remove the Creative Cloud badge from the Image Editor. Apps that violate the Terms of Use will not be approved for production.

You can find the Adobe Creative SDK terms here.

The Adobe general terms are here.



来源:https://stackoverflow.com/questions/31581005/how-to-remove-footer-from-aviary-editor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!