android去掉ExpandableListView的group中的child的默认边框
2017-01-02 05:08
423 查看
仿微信的朋友圈,用的是ExpandableListView
在一个item里面,这部分是属于groupview
这部分是属于childview,不明白为什么会有默认的边框
这是我的ExpandableListView
<com.handmark.pulltorefresh.library.PullToRefreshExpandableListView xmlns:ptr="http://schemas.android.com/apk/res-auto" android:id="@+id/moments_all_expandable_list" android:layout_width="match_parent" android:layout_height="match_parent" android:cacheColorHint="@android:color/transparent" android:dividerPadding="0dp" android:dividerHeight="0dp" ptr:ptrAnimationStyle="flip" ptr:ptrMode="both" />
这是我childview的item所用的布局
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/bg_gray4" android:orientation="horizontal" android:paddingBottom="4dp" android:paddingTop="4dp" > <TextView android:id="@+id/reply_text" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@drawable/background_gray4" android:gravity="center_vertical" android:paddingLeft="7dp" android:paddingRight="7dp" android:text="texttexttexttexttexttexttexttexttext" android:textColor="@color/black" android:textSize="14.5sp" /> </LinearLayout>
相关文章推荐
- android ExpandableListView position - packPostion - group/childposition
- Android中的ExpandableListView的使用,以及点击时间禁用,并展开group,去掉小三角
- Android ExpandableListView group的item有间距child间隔不变
- android ExpandableListView 为Group与Child添加菜单
- ExpandableListView(三)只展开一个group,没有child不展开group
- Android技巧:ListView去掉默认橙黄底色
- android 为ExpandableListView中child设置监听器
- Android之带group指示器的ExpandableListView
- Android—去掉ExpandableListView的箭头图标
- android ExpandableListView setOnGroupClickListener失效问题
- Android—去掉expandablelistview左边的图标
- ExpandableListView去掉默认箭头和互斥展开
- Android - ExpandableListView的group里添加button后不能展开的解决方法
- Android小技巧2——去掉ListView点击item时默认的黄色背景
- ExpandableListView 功能界面布局探究之三(没有child的下拉列表,group不展开的实现)
- ExpandableListView(三)只展开一个group,没有child不展开group
- Android之带group指示器的ExpandableListView
- 【Android】ExpandableListView 默认展开
- ExpandableListView(三)只展开一个group,没有child不展开group
- ExpandableListView(三)只展开一个group,没有child不展开group