Image manipulation android app with custom view for setting the preferences