Tecnologia do Blogger.
RSS

[androidbrasil-dev] Desabilitar foco em ListFragment

Pessoal,

Como desabilito o foco de um item de ListFragment (aquele que quando vc clica ou move um item, ele fica com o background azul) ??

Já tentei:

    android:clickable="false"
    android:focusable="false"
    android:focusableInTouchMode="false"

no xml do item do adapter ou chamar esses métodos manualmente para o ListView com 

    getListView().setFocusable(false);
    getListView().setFocusableInTouchMode(false);
    getListView().setClickable(false);

em onActivityCreated(), mas nada funcionou.

Alguma dica ?

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.

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

0 comentários:

Postar um comentário