remove divider from listview

This commit is contained in:
chschtsch 2015-12-02 16:29:58 +03:00
parent 9ed4a65fd2
commit f9dd88c1cb
2 changed files with 3 additions and 1 deletions

View File

@ -44,6 +44,8 @@ class VideoListAdapter extends BaseAdapter {
public VideoListAdapter(Context context, VideoItemListFragment videoListFragment) {
viewCreator = new VideoInfoItemViewCreator(LayoutInflater.from(context));
this.listView = videoListFragment.getListView();
this.listView.setDivider(null);
this.listView.setDividerHeight(0);
this.context = context;
}

View File

@ -13,7 +13,7 @@
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
card_view:cardCornerRadius="@dimen/video_item_search_card_radius" >
card_view:cardCornerRadius="@dimen/video_item_search_card_radius">
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"