Tecnologia do Blogger.
RSS

Re: [androidbrasil-dev] Scroll horizontal na listview

Consegui resolver. Usei RecycleView, muito melhor que listView. 

Setei a orientação do layout para Horizontal:

RecyclerView.LayoutManager layout = new LinearLayoutManager(this, HORIZONTAL, false);
rvPhotos.setLayoutManager(layout);

Em qui., 28 de jan. de 2021 às 13:39, Carlos Alberto Pinto <caneto@gmail.com> escreveu:
Neste site tem varias classes https://android-arsenal.com/search?q=Scroll+horizontal

Só acho que em Listview, não rola. (Não consegui)

Carlos Alberto da C. P Neto

E-mail: caneto@gmail.com
 






Em qui., 28 de jan. de 2021 às 11:31, Felipe Aron <felipearon@gmail.com> escreveu:
Galera, qual a melhor forma de criar uma listview com scroll horizontal?

O que eu preciso é ter uma lista de imagens, que possa rolar horizontalmente.

--
Developer & Digital Marketer

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/androidbrasil-dev/CADxjQn8mMkdRcR2xSvMnqKM5R3SvUM2P%3DcDfrGH0EG%2BynXKqmQ%40mail.gmail.com.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/androidbrasil-dev/CAJGxN_mciYbsB2RL6VPXmukx%2BxBEmZPru4__3TUyK4y8joDqNg%40mail.gmail.com.


--
Developer & Digital Marketer

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/androidbrasil-dev/CADxjQn_akaCwKBweiHvg%2BW3bK4A0wVu%2BCsnmfeMNzGy9QuMfxg%40mail.gmail.com.

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

0 comentários:

Postar um comentário