Alinhar o topo da imagem ao topo do TextView
Eu quero criar um layout que alinha o topo de uma imagem para o topo de um TextView como este:
--------- Text text text text text text text
| Image | text text text text text text text
--------- text text text text text text text
text text text text text text text
text text text text text.
Eu tentei fazer isso definindoandroid:drawableLeft
para minha imagem, mas isso centraliza a imagem verticalmente:
Text text text text text text text
--------- text text text text text text text
| Image | text text text text text text text
--------- text text text text text text text
text text text text text.
Isso é possível com apenas um TextView ou eu preciso criar um RelativeLayout contendo um TextView e um ImageView?
Aqui está o layout XML para o meu TextView que dá o layout incorreto:
<TextView
android:gravity="top"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:drawableLeft="@drawable/image"
android:drawablePadding="8dp"
android:text="@string/text" />
oandroid:gravity="top"
atributo só parece afetar o texto, não o drawable.