@Derci Santos
Ao invés de usar um <Button>, eu estou usando um LinearLayout com uma ImageButton e um TexView e colocando todos os 3 com o meu onclicklistener. Mas acho isso mt ruim.
@Kauê Martins
E como faço quando o botao tiver mais deu uma imagem?
On Wed, Oct 23, 2013 at 12:48 AM, Kauê Martins <ksampaiosp@gmail.com> wrote:
Da para fazer isso direto no Button usando a propriedade android:drawableLeft="sua imagem"exemplo:
<Button
android:id="@+id/button1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Seu texto "
android:drawableLeft="@drawable/ic_launcher" />
(:--2013/10/22 Derci Santos <derciii.lima@gmail.com>Poderia explicar melhor seu problema?"botao com varias imagens"?--
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.
att,
Pedro Cortez
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