Android ocultar listview scrollbar?
Hay una manera de ocultar la barra de desplazamiento en ListView
. Sé que es posible para ScrollView
pero no puedo encontrar una manera para ListView
scrollbar. Alguna idea?
5 answers
Intente escribir esto en el archivo xml de diseño
android:scrollbars="none"
Tutorial está aquí.
Http://developer.android.com/reference/android/view/View.html#attr_android:scrollbars
Esperanza, te ayuda
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2013-06-08 08:37:18
Si desea deshabilitar \ enable scrollbars programáticamente necesita usar
Vista.setVericalScrollbarEnabled (booleano) - desactivar \ enable vertical barras de desplazamiento.
Vista.setHorizontalScrollBarEnabled (booleano) - desactivar \ enable horizontal barras de desplazamiento.
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2014-08-13 14:49:22
Esta es la propiedad que debe usar en su ListView
. Todo lo mejor.
android:scrollbars="none"
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2017-03-21 19:31:31
También asegúrese de que el desplazamiento rápido desactivado:
listView.setFastScrollEnabled(false);
Gracias, Rahul
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2016-02-16 10:18:16
Normalmente usando ambos
android:divider="@null"
android:dividerHeight="0dp"
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2018-02-12 15:42:54