đź“… 15 Apr 2025
Undo/redo history
It is quite easy to make a mistake while editing images on a phone. Until now, there was no way to undo things in the android-media-editor photo editor. You could just reset the whole image, but no single changes.
I have now implemented an undo/redo history. Nothing revolutionary about it, and it works as you’d expect. Just press the undo or redo button in the toolbar and you can rewrite history!
It was a bit tricky to implement, but basically I save the history of all the edits and then replay them from the initial state on undo/redo. Not having thought about this usecase from the start makes it a bit more complicated because of a bunch of assumptions not holding anymore.
Layout improvements, landscape & tablet support
android-media-editor technically worked in landscape, but in practice was barely usable. I have now implemented an additional layout for landscape mode. This also makes the layout better on tablets.
Screenshot:
I have also moved the crop button to the “Edit” tab. Gone is the out-of-place crop button in the middle of your photo! The buttons’ alignment has also been changed.
Screenshot: