diff --git a/common/src/main/res/layout/dialog_live_new_function.xml b/common/src/main/res/layout/dialog_live_new_function.xml index bb29373b0..431285898 100644 --- a/common/src/main/res/layout/dialog_live_new_function.xml +++ b/common/src/main/res/layout/dialog_live_new_function.xml @@ -45,6 +45,7 @@ android:layout_weight="1" /> + + + + + + + + diff --git a/common/src/main/res/mipmap-xxhdpi/live_more_icon_task.png b/common/src/main/res/mipmap-xxhdpi/live_more_icon_task.png new file mode 100644 index 000000000..6265b8b3a Binary files /dev/null and b/common/src/main/res/mipmap-xxhdpi/live_more_icon_task.png differ diff --git a/common/src/main/res/values-en/strings.xml b/common/src/main/res/values-en/strings.xml index 653ff127a..1f8d3c2fe 100644 --- a/common/src/main/res/values-en/strings.xml +++ b/common/src/main/res/values-en/strings.xml @@ -1005,4 +1005,5 @@ Limited ride And limited avatar frame phone Broadcast Click To View + Anchor Task diff --git a/common/src/main/res/values/strings.xml b/common/src/main/res/values/strings.xml index af39ae8b1..9fc8b1987 100644 --- a/common/src/main/res/values/strings.xml +++ b/common/src/main/res/values/strings.xml @@ -1026,4 +1026,5 @@ 手機號 開播數據 點擊查看 + 主播任務 diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveNewFunctionDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveNewFunctionDialogFragment.java index dc0bbe21e..f28434947 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveNewFunctionDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveNewFunctionDialogFragment.java @@ -109,6 +109,8 @@ public class LiveNewFunctionDialogFragment extends AbsDialogFragment implements mMicView.setOnClickListener(this); mRandomPk.setOnClickListener(this); findViewById(R.id.message_linear).setOnClickListener(this); + findViewById(R.id.broadcast_data).setOnClickListener(this); + findViewById(R.id.anchor_task).setOnClickListener(this); findViewById(R.id.live_tool_robot).setOnClickListener(this); @@ -174,6 +176,13 @@ public class LiveNewFunctionDialogFragment extends AbsDialogFragment implements .asCustom(new LiveAnchorMessageCustomPopup(getContext())) .show(); dismiss(); + } else if (id == R.id.broadcast_data) { + //主播数据 + new LiveDataInfoDialog(mContext).showDialog(); + dismiss(); + } else if (id == R.id.anchor_task) { + //主播任务 + new LiveTaskDialog(mContext).showDialog(); } }