Tecnologia do Blogger.
RSS

Re: [androidbrasil-dev] Re: Duvida de botões com imagens

Para que um botao com mais de uma imagem. mas como o amigo falou ali em cima, você tem 4 propriedades, drawableLeft, drawableTop... Então você pode colocar até 4 imagens XD


Em 23 de outubro de 2013 12:49, Pedro Cortez <pedro.fellipe.cortez@gmail.com> escreveu:
@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.



--
Atenciosamente,

Carlos Terceiro.

Analista Desenvolvedor Web @TechWay Info
Técnico em Informática - IFCE
OCJP - Oracle Certified Professional, Java SE 6 Programmer
(085) 8777-7359

--
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.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comentários:

Postar um comentário