[PhotoActivity]Completed the refactoring.

Now the resizes are done directly via .xml not via .java.