Fix issue#54.

Wrong median position calculation for bricks produces negative list index.
Add robotium test for issue#54.
Fixed failed ui tests caused by fixing issue#54.
Merge branch 'master' into issue#54
Merge branch 'master' into issue#54
Merge branch 'master' into issue#54
Merge branch 'master' into issue#54
Merge branch 'master' into issue#54
set soundrecorderactivity to portrait
refactoring of SoundRecorderTest

added orientation test
standard test does not rotate any more
refactor SoundRecorderActivity

checking in onCreate if the Soundrecorder was recording before
orientationchange is not needed any more - Activity is set to portrait
only
fix SoundRecorderTest

waitForActivity is needed - solo.getCurrentActivity() returned the wrong
Activity
fix for orientation tests

these tests would have failed, if the activity before allowed
orientation landscape, because solo.getCurrentActivity would have
returned the wrong activity without the wait
refactoring of layout xml

tried to remove warnings in activity_soundrecorder.xml
refactored ids
Merge pull request #143 from Catrobat/RefactorSoundRecorder

Refactor SoundRecorder
merged and accepted
Add issue link to testcase.
Refactor variable name.
Merge pull request #142 from Catrobat/issue#54

Issue#54
Fix Layout Editor Rendering of Bricks

In a recent commit to master I forgot to add the layout_height attribute
in one of the styles, disabling the rendering of brick layouts in the
Eclipse Layout Editor. This commit corrects this error.
.gitattributes file added to normalize line ending

In today's meeting it was decided that we normalize the line endings
over the course of time instead of normalizing the whole repo at once.

This *will* break git blame.
Merge pull request #145 from Catrobat/FixLayoutEditorRendering

Fix Layout Editor Rendering of Bricks
accepted