diff --git a/common/src/main/res/drawable/bg_f2edd7_10.xml b/common/src/main/res/drawable/bg_f2edd7_10.xml new file mode 100644 index 000000000..7381e2737 --- /dev/null +++ b/common/src/main/res/drawable/bg_f2edd7_10.xml @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/common/src/main/res/layout/item_home_sud_game_list2.xml b/common/src/main/res/layout/item_home_sud_game_list2.xml index dc6fe15d1..a684cb6d2 100644 --- a/common/src/main/res/layout/item_home_sud_game_list2.xml +++ b/common/src/main/res/layout/item_home_sud_game_list2.xml @@ -6,9 +6,9 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginStart="16dp" - android:layout_marginTop="6dp" + android:layout_marginTop="9dp" android:layout_marginEnd="16dp" - android:background="@mipmap/background_home_sud_game_list"> + android:background="@drawable/bg_f2edd7_10"> { if(more!=null){ more.setVisibility(View.VISIBLE); + if (moreXPopup==null){ + moreXPopup = new XPopup.Builder(mContext).atView(more); + more.setOnClickListener(view -> { + moreXPopup.asCustom(new MsgMoreDialog(mContext)).show(); + }); + } } - }); if (data.getIsAnchor() == 1 && CommonAppConfig.getInstance().getUserBean().getUsers_type().equals("C")) { userType = 2;//主播B if(more!=null){ more.setVisibility(View.VISIBLE); + if (moreXPopup==null){ + moreXPopup = new XPopup.Builder(mContext).atView(more); + more.setOnClickListener(view -> { + moreXPopup.asCustom(new MsgMoreDialog(mContext)).show(); + }); + } } viewPager.setUserInputEnabled(true); //mIndicator.setVisibility(View.VISIBLE); diff --git a/main/src/main/res/layout/view_main_home2.xml b/main/src/main/res/layout/view_main_home2.xml index 2077ba6e0..b0e9a41a1 100644 --- a/main/src/main/res/layout/view_main_home2.xml +++ b/main/src/main/res/layout/view_main_home2.xml @@ -4,6 +4,7 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" + android:background="@mipmap/bg_yola_index" android:orientation="vertical"> @@ -110,6 +110,7 @@ android:layout_height="15dp" android:layout_marginTop="10dp" android:src="@mipmap/good_nub" + android:paddingEnd="6dp" android:visibility="gone" app:layout_constraintStart_toStartOf="@+id/name" app:layout_constraintTop_toBottomOf="@+id/name" @@ -119,7 +120,6 @@ android:id="@+id/id_val" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginStart="6dp" android:layout_marginTop="10dp" android:background="@drawable/bg_white_radius17" android:paddingStart="6dp"