I have an Android Application with android.support.v4.app.ListFragment
I do not want the list to display its scroll bar
if i was specifying a list in XML i could use scroll bars = "none"
what options does ListFragment expose to get the same result?
My Min SDK = 11, Target SDK = 17
You can use getListView()
to get the current ListView
and hide the scrollbars :
ListView listView = getListView();
listView.setVerticalScrollBarEnabled(false);
listView.setHorizontalScrollBarEnabled(false);