<ImageView android:layout_width="fill_parent" android:layout_height="wrap_content" android:rotation="90" android:contentDescription="@string/image_divider" android:paddingBottom="8dp" android:paddingTop="4dp" android:scaleType="fitXY" android:src="@android:drawable/divider_horizontal_textfield" />
References
https://stackoverflow.com/questions/11243314/rotate-imageview-source-from-layout-xml-file