Commit c0913f68 authored by 姜敏's avatar 姜敏

更改线的粗细

parent 8e8a349a
...@@ -179,6 +179,11 @@ public class VipListFragment extends BaseFragment<VipPresenter, FragmentVipListB ...@@ -179,6 +179,11 @@ public class VipListFragment extends BaseFragment<VipPresenter, FragmentVipListB
if (mViewBinding.vipLevelR.getChildCount() != 0) { if (mViewBinding.vipLevelR.getChildCount() != 0) {
mViewBinding.vipLevelR.removeAllViews(); mViewBinding.vipLevelR.removeAllViews();
} }
if (levelPager.getList()==null||levelPager.getList().size()==0){
ToastUtils.showShort("没有开通会员功能!");
return;
}
LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.MATCH_PARENT); LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, LinearLayout.LayoutParams.MATCH_PARENT);
Level allLevel = new Level(); Level allLevel = new Level();
allLevel.setVipLevelName("全部会员"); allLevel.setVipLevelName("全部会员");
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0.5dp" android:layout_height="0.5dp"
android:background="@color/gray_huanggai" /> android:background="@color/gray_huanggai" />
<include layout="@layout/line_layout"></include>
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment