Horizo​​ntalListview不顺畅Listview内部?

时间:2015-05-05 10:56:44

标签: android listview horizontallistview

我现在每个人都面临一个问题,

问题:Horizo​​ntalListview在listview项目中运行不正常。

在我的应用程序中实现了这样的

 <Listview>
   item1 <Horizontallistview> ..... </Horizontallistview>
   item2 <Horizontallistview> ..... </Horizontallistview>
   item3 <Horizontallistview> ..... </Horizontallistview>
   item4 <Horizontallistview> ..... </Horizontallistview>
   ....
   ....
   ....

 </Listview>

实际上我是这样实现的,但是每个项目的横向滚动都没有顺利进行,任何人都有这个想法给我一些想法。

protected void setupViews() {
    LayoutInflater inflater = LayoutInflater.from(Application.getContext());
    inflater.inflate(R.layout.element_playlist, this, true);
    title = (TextView) this.findViewById(R.id.title);

    movieplaylistlistview = (HorizontalListView) this.findViewById(R.id.list_listview);


    playlistMovieAdapter = new PlaylistMovieAdapter();
    movieplaylistlistview.setAdapter(playlistMovieAdapter);          

}

0 个答案:

没有答案