Move onPress and onLayout methods to functional component as a part of MultimediaMessageMultimedia migration to a functional component. Empty onLayout looks weird but in the history I can see it was introduced to fix some Android measure bug and I believe it so I'm leaving it as it was.
Depends on D14131