Is it possible to make the
ListView horizontally? I have done this Using gallery view, but the selected item comes to the center of the screen automatically. I don't want the selected item at the same spot I clicked. How can I Rectify this Problem? My Idea was to set the
ListView with horizontal scroll. Share your idea?
As per Android Documentation
RecyclerView is the new way to organize the items in listview and to be displayed horizontally
More Information about
Just add the below block to make the
ListView to horizontal from vertical
LinearLayoutManager layoutManager= new LinearLayoutManager(this,LinearLayoutManager.HORIZONTAL, false); mRecyclerView = (RecyclerView) findViewById(R.id.recycler_view); mRecyclerView.setLayoutManager(layoutManager);
Paul doesn't bother to fix bugs of his library or accept users fixes. That's why I am suggesting another library which has similar functionality:
Update: on Jul 24, 2013 author (sephiroth74) released completely rewritten version based on code of android 4.2.2 ListView. I must say that it doesn't have all the errors which previous version had and works great!