Changing the textView for this worked for me
<TextView
android:layout_width="0dp"
android:layout_height="fill_parent"
android:gravity="top"
android:layout_weight="1"
android:text="TEST" />
This uses gravity instead of layout_gravity, but since the height of the textView is set to fill_parent, it has the same effect
android: View, .
android: layout_gravity .