If you did not specify an orientation in LinearLayout, then 2 ImageViews and TextView will be displayed next to each other.
android:orientation="horizontal"
will be considered
If you want them to appear below each other, use
android:orientation="vertical"
Shehabix
source share