Cleaned up the color.xml
- Created the morphing fragment
- Added the possibility to add buttons to the dialog constructor, with corresponding callback
- Created the application list where users can pick an app to copy its icon and name from
- Cleaned up a few more styling issues in the app
The application list is now sorted on label. Still todo: pick icon from device
Added animation when user picked an app :3 such smooth, much wow
Also, applications names are now single lines to avoid bloating.
The image picker from device now also works. It also crops the retrieved image if it is too large.
- Created the listview in the dialog in such a way that it easily can be used for more things than just buttons (like I use it now). Now the dialog works with a tiny custom adapter that you have to implement in order to fill the list. It is easy :)
- Thus, the application list is now much much more effectient and also starts quicker (especially when re-opening the dialog)
- The resizing of the images was done incorrectly, as I first cropped, then resized. However I should first resize and then crop. Adjusted the methods accordingly.
- Furthermore, I created a piece of code that ensures that the image crop makes use of the Exif Orientation information. So if pictures are saved in portrait, but made in landscape, we will know and correct for it... such skill
Code auto-formatting
Added new bitmap scaling and cropping. File picker now only looks for images
Merge pull request #155 from AlexKolpa/153-morph-tab-ui

Morphing tab ui