当前位置: 动力学知识库 > 问答 > 编程问答 >

android - How to Display ListView elements in grid format

问题描述:

I need to display my listview elements in grid format. What steps can I follow?

网友答案:

Use one more technique GridView, a grid View contain inbuilt listview format only but it is having rows and columns, and better to go search Developer.android.com

网友答案:

Use GridView for adapter settings like this ArrayAdapter adapter= new ArrayAdapter(context, xml in grid format, values); add to gridview to arrayadapter

分享给朋友:
您可能感兴趣的文章:
随机阅读: