如何设置listview每个item高度
2015-07-21
展开全部
看apidemo我给段我代码懂apidemo面找 private static final String[] from = new String[] { BookmarkColumns.FAVICON, BookmarkColumns.TITLE, BookmarkColumns.URL }; private static final int[] to = new int[] { R.id.imageViewBookmarkIcon, R.id.textViewBookmarkTitle, R.id.textViewBookmarkUrl }; private ListView listView; private SimpleCursorAdapter myAdapter; listView = (ListView) findViewById(R.id.listViewSettingConnect); myAdapter = new SimpleCursorAdapter(this, R.layout.bookmarks_item, mCursor, from, to);
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询