Um TextView só. No código: textView.setText(Html.fromHtml(…))
2013/10/24 Carlos H <chcosta.pessoal@gmail.com>
Olá Pessoal,--
Queria ver se conseguem me ajudar.
Eu gostaria de fazer o layout da forma 1.
Porém só estou conseguindo da forma 2.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="top" >
<ImageView
android:id="@+id/userImage"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginTop="5dp"/>
<TextView
android:id="@+id/nome"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@+id/userImage"
android:layout_marginLeft="5dp"
/>
<TextView
android:id="@+id/descricao"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@+id/userImage"
android:layout_below="@+id/nome"
android:layout_marginLeft="5dp"/>
</RelativeLayout>
Agradeço qualquer ajuda!
Abs
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.






0 comentários:
Postar um comentário