androidaviary

How to dynamically customize the crop of aviary in Android?


my previous post :
How to dynamically customize the crop of aviary in Android?

I found some code to customize crop of aviary on override values.xml

<resources>
    <string-array name="aviary_crop_labels">
        <item>"Crop"</item>
    </string-array>
    <string-array name="aviary_crop_values">
        <item>1:1</item>
    </string-array>
    <integer name="aviary_crop_selected_index">0</integer>
</resources>

how do i change these values dynamically?


Solution

  • I tried to do this when I used Aviary(now changed to Creative SDK) and really cannot if you don't modify source code of Aviary. Because Aviary is opened source , you can do this by modifying source code of Aviary (quite easy to do this). Aviary/CreativeSDK only reads crop options from static values from your xml codes above.

    Now, I changed to CreativeSDK and cannot modify crop option at run time. :(