修改:貴族列表
This commit is contained in:
parent
86c7bd56d1
commit
2c56322b1c
@ -270,7 +270,7 @@
|
|||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="50dp"
|
android:layout_width="50dp"
|
||||||
android:layout_height="50dp"
|
android:layout_height="50dp"
|
||||||
android:src="@mipmap/icon_interaction_anchor_say" />
|
android:src="@mipmap/icon_interaction_beauty" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
BIN
common/src/main/res/mipmap-xxhdpi/icon_interaction_leave_p.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/icon_interaction_leave_p.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.3 KiB |
@ -30,6 +30,7 @@ import com.yunbao.common.bean.UserBean;
|
|||||||
import com.yunbao.common.glide.ImgLoader;
|
import com.yunbao.common.glide.ImgLoader;
|
||||||
import com.yunbao.common.utils.CommonIconUtil;
|
import com.yunbao.common.utils.CommonIconUtil;
|
||||||
import com.yunbao.common.utils.DpUtil;
|
import com.yunbao.common.utils.DpUtil;
|
||||||
|
import com.yunbao.common.utils.L;
|
||||||
import com.yunbao.common.utils.SVGAViewUtils;
|
import com.yunbao.common.utils.SVGAViewUtils;
|
||||||
import com.yunbao.common.utils.ToastUtil;
|
import com.yunbao.common.utils.ToastUtil;
|
||||||
import com.yunbao.common.views.weight.ClipPathCircleImage;
|
import com.yunbao.common.views.weight.ClipPathCircleImage;
|
||||||
@ -247,6 +248,8 @@ public class UserMoreInfoAdapter extends RefreshAdapter<UserBean> {
|
|||||||
} else {
|
} else {
|
||||||
mRanksIcon.addView(rankImage, 0);
|
mRanksIcon.addView(rankImage, 0);
|
||||||
}
|
}
|
||||||
|
}else if(type.equals("6")){
|
||||||
|
L.e("type==6");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bean.getDress() != null && bean.getDress().getAvatar_frame() != null) {
|
if (bean.getDress() != null && bean.getDress().getAvatar_frame() != null) {
|
||||||
|
@ -130,10 +130,10 @@ public class LiveInteractionDialogFragment extends AbsDialogFragment implements
|
|||||||
findViewById(R.id.live_tool_game).setOnClickListener(this);
|
findViewById(R.id.live_tool_game).setOnClickListener(this);
|
||||||
|
|
||||||
if (leave == 0) {
|
if (leave == 0) {
|
||||||
((ImageView) mLeaveView.findViewById(R.id.live_tool_leave_img)).setImageResource(R.mipmap.icon_leave);
|
((ImageView) mLeaveView.findViewById(R.id.live_tool_leave_img)).setImageResource(R.mipmap.icon_interaction_leave);
|
||||||
((TextView) mLeaveView.findViewById(R.id.live_tool_leave_text)).setText(mContext.getString(R.string.live_zslk));
|
((TextView) mLeaveView.findViewById(R.id.live_tool_leave_text)).setText(mContext.getString(R.string.live_zslk));
|
||||||
} else {
|
} else {
|
||||||
((ImageView) mLeaveView.findViewById(R.id.live_tool_leave_img)).setImageResource(R.mipmap.icon_leave_p);
|
((ImageView) mLeaveView.findViewById(R.id.live_tool_leave_img)).setImageResource(R.mipmap.icon_interaction_leave_p);
|
||||||
((TextView) mLeaveView.findViewById(R.id.live_tool_leave_text)).setText(mContext.getString(R.string.live_zslk1));
|
((TextView) mLeaveView.findViewById(R.id.live_tool_leave_text)).setText(mContext.getString(R.string.live_zslk1));
|
||||||
}
|
}
|
||||||
mLiveRoomHandler = new LiveRoomHandler();
|
mLiveRoomHandler = new LiveRoomHandler();
|
||||||
|
@ -61,7 +61,7 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
|||||||
private LiveGuardInfo mLiveGuardInfo;
|
private LiveGuardInfo mLiveGuardInfo;
|
||||||
public eightbitlab.com.blurview.BlurView blurView;
|
public eightbitlab.com.blurview.BlurView blurView;
|
||||||
|
|
||||||
public TextView audience_btn, guard_btn, fans_btn, tags, btn, gz_view, dayRank, weekRank, title;
|
public TextView audience_btn,guard_btn, fans_btn, tags, btn, gz_view, dayRank, weekRank, title;
|
||||||
private LinearLayout tabs;
|
private LinearLayout tabs;
|
||||||
private ConstraintLayout noMoreLayout;
|
private ConstraintLayout noMoreLayout;
|
||||||
private TextView noMoreText;
|
private TextView noMoreText;
|
||||||
@ -155,6 +155,7 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
|||||||
audience_btn.setOnClickListener(new View.OnClickListener() {
|
audience_btn.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View view) {
|
public void onClick(View view) {
|
||||||
|
noble = false;
|
||||||
Tips = "1";
|
Tips = "1";
|
||||||
Up();
|
Up();
|
||||||
type = "guanzhong";
|
type = "guanzhong";
|
||||||
@ -198,7 +199,17 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
|||||||
type = "weekRank";
|
type = "weekRank";
|
||||||
mRefreshView.initData();
|
mRefreshView.initData();
|
||||||
});
|
});
|
||||||
|
gz_view.setOnClickListener(new View.OnClickListener() {
|
||||||
|
@Override
|
||||||
|
public void onClick(View v) {
|
||||||
|
noble = true;
|
||||||
|
Tips = "1";
|
||||||
|
Up();
|
||||||
|
userMoreInfoAdapter.setNoble(true);
|
||||||
|
type = "guanzhong";
|
||||||
|
mRefreshView.initData();
|
||||||
|
}
|
||||||
|
});
|
||||||
mRefreshView = mRootView.findViewById(R.id.refreshView);
|
mRefreshView = mRootView.findViewById(R.id.refreshView);
|
||||||
view_no = mRootView.findViewById(R.id.view_no);
|
view_no = mRootView.findViewById(R.id.view_no);
|
||||||
userMoreInfoAdapter = new UserMoreInfoAdapter(mContext, LiveUserMoreDialogFragment.this);
|
userMoreInfoAdapter = new UserMoreInfoAdapter(mContext, LiveUserMoreDialogFragment.this);
|
||||||
@ -237,7 +248,6 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
|||||||
mRefreshView.setVisibility(View.GONE);
|
mRefreshView.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -335,18 +345,13 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
|||||||
});
|
});
|
||||||
mRefreshView.initData();
|
mRefreshView.initData();
|
||||||
if (noble) {
|
if (noble) {
|
||||||
tabs.setVisibility(View.GONE);
|
|
||||||
title.setVisibility(View.VISIBLE);
|
|
||||||
title.setText(R.string.noble);
|
|
||||||
userMoreInfoAdapter.setNoble(true);
|
userMoreInfoAdapter.setNoble(true);
|
||||||
} else {
|
} else {
|
||||||
if (isOnly) {
|
if (isOnly) {
|
||||||
tabs.setVisibility(View.GONE);
|
tabs.setVisibility(View.GONE);
|
||||||
title.setVisibility(View.GONE);
|
title.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -372,20 +377,25 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
|||||||
noMoreText.setVisibility(View.GONE);
|
noMoreText.setVisibility(View.GONE);
|
||||||
LinearLayout.LayoutParams params = (LinearLayout.LayoutParams) mRefreshView.getLayoutParams();
|
LinearLayout.LayoutParams params = (LinearLayout.LayoutParams) mRefreshView.getLayoutParams();
|
||||||
params.bottomMargin = DpUtil.dp2px(65);
|
params.bottomMargin = DpUtil.dp2px(65);
|
||||||
if (Tips.equals("1")) {
|
if(noble){
|
||||||
tags.setText(R.string.enjoy_a_lot);
|
tags.setText(R.string.enjoy_a_lot);
|
||||||
btn.setBackgroundResource(R.mipmap.btn_openvip);
|
btn.setBackgroundResource(R.mipmap.btn_openvip);
|
||||||
btn.setText(R.string.live_ktgz);
|
btn.setText(R.string.live_ktgz);
|
||||||
setTextColor(audience_btn, guard_btn, fans_btn, weekRank, dayRank);
|
setTextColor(gz_view,audience_btn, guard_btn, fans_btn, weekRank, dayRank);
|
||||||
gz_view.setVisibility(View.GONE);
|
userMoreInfoAdapter.type = "1";
|
||||||
|
type = "guanzhong";
|
||||||
|
}else if (Tips.equals("1")) {
|
||||||
|
tags.setText(R.string.enjoy_a_lot);
|
||||||
|
btn.setBackgroundResource(R.mipmap.btn_openvip);
|
||||||
|
btn.setText(R.string.live_ktgz);
|
||||||
|
setTextColor(audience_btn, guard_btn, fans_btn, weekRank, dayRank,gz_view);
|
||||||
userMoreInfoAdapter.type = "1";
|
userMoreInfoAdapter.type = "1";
|
||||||
type = "guanzhong";
|
type = "guanzhong";
|
||||||
} else if (Tips.equals("2")) {
|
} else if (Tips.equals("2")) {
|
||||||
tags.setText(R.string.guard_for_your);
|
tags.setText(R.string.guard_for_your);
|
||||||
btn.setBackgroundResource(R.mipmap.btn_openprotection);
|
btn.setBackgroundResource(R.mipmap.btn_openprotection);
|
||||||
btn.setText(R.string.daemon_list);
|
btn.setText(R.string.daemon_list);
|
||||||
setTextColor(guard_btn, audience_btn, fans_btn, dayRank, weekRank);
|
setTextColor(guard_btn, audience_btn, fans_btn, dayRank, weekRank,gz_view);
|
||||||
gz_view.setVisibility(View.GONE);
|
|
||||||
userMoreInfoAdapter.type = "2";
|
userMoreInfoAdapter.type = "2";
|
||||||
no_more.setImageResource(R.mipmap.ic_guard_not);
|
no_more.setImageResource(R.mipmap.ic_guard_not);
|
||||||
noMoreText.setText(R.string.waiting_for_you);
|
noMoreText.setText(R.string.waiting_for_you);
|
||||||
@ -395,8 +405,7 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
|||||||
tags.setText(R.string.favorite_host_fan);
|
tags.setText(R.string.favorite_host_fan);
|
||||||
btn.setText(R.string.Join_a_fan_club);
|
btn.setText(R.string.Join_a_fan_club);
|
||||||
btn.setBackgroundResource(R.mipmap.btn_joinfans);
|
btn.setBackgroundResource(R.mipmap.btn_joinfans);
|
||||||
setTextColor(fans_btn, audience_btn, guard_btn, dayRank, weekRank);
|
setTextColor(fans_btn, audience_btn, guard_btn, dayRank, weekRank,gz_view);
|
||||||
gz_view.setVisibility(View.GONE);
|
|
||||||
userMoreInfoAdapter.type = "3";
|
userMoreInfoAdapter.type = "3";
|
||||||
type = "fans";
|
type = "fans";
|
||||||
no_more.setImageResource(R.mipmap.bixin);
|
no_more.setImageResource(R.mipmap.bixin);
|
||||||
@ -406,7 +415,6 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
|||||||
bottom_msg.setVisibility(View.GONE);
|
bottom_msg.setVisibility(View.GONE);
|
||||||
type = "dayRank";
|
type = "dayRank";
|
||||||
setTextColor(dayRank, audience_btn, guard_btn, fans_btn, gz_view, weekRank);
|
setTextColor(dayRank, audience_btn, guard_btn, fans_btn, gz_view, weekRank);
|
||||||
gz_view.setVisibility(View.GONE);
|
|
||||||
no_more.setImageResource(R.drawable.img_rank_empty);
|
no_more.setImageResource(R.drawable.img_rank_empty);
|
||||||
noMoreText.setText(R.string.no_more_day_rank);
|
noMoreText.setText(R.string.no_more_day_rank);
|
||||||
noMoreText.setVisibility(View.VISIBLE);
|
noMoreText.setVisibility(View.VISIBLE);
|
||||||
@ -415,7 +423,6 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
|||||||
userMoreInfoAdapter.type = "5";
|
userMoreInfoAdapter.type = "5";
|
||||||
bottom_msg.setVisibility(View.GONE);
|
bottom_msg.setVisibility(View.GONE);
|
||||||
type = "weekRank";
|
type = "weekRank";
|
||||||
gz_view.setVisibility(View.GONE);
|
|
||||||
no_more.setImageResource(R.drawable.img_rank_empty);
|
no_more.setImageResource(R.drawable.img_rank_empty);
|
||||||
noMoreText.setText(R.string.no_more_day_rank);
|
noMoreText.setText(R.string.no_more_day_rank);
|
||||||
setTextColor(weekRank, audience_btn, guard_btn, fans_btn, gz_view, dayRank);
|
setTextColor(weekRank, audience_btn, guard_btn, fans_btn, gz_view, dayRank);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<corners android:radius="10dp"/>
|
<corners android:radius="11.5dp"/>
|
||||||
<solid android:color="#33000000"/>
|
<solid android:color="#33000000"/>
|
||||||
</shape>
|
</shape>
|
@ -42,7 +42,7 @@
|
|||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@string/day_rank"
|
android:text="@string/day_rank"
|
||||||
android:textColor="#fff6f7fb"
|
android:textColor="#ff646464"
|
||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -52,7 +52,7 @@
|
|||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@string/week_rank"
|
android:text="@string/week_rank"
|
||||||
android:textColor="#fff6f7fb"
|
android:textColor="#ff646464"
|
||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -62,7 +62,17 @@
|
|||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@string/live_audience"
|
android:text="@string/live_audience"
|
||||||
android:textColor="#fff6f7fb"
|
android:textColor="#ff646464"
|
||||||
|
android:textSize="16sp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/gz_view"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="@string/aristocrat"
|
||||||
|
android:textColor="#ff646464"
|
||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -87,17 +97,6 @@
|
|||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/gz_view"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginLeft="20dp"
|
|
||||||
android:layout_marginBottom="5dp"
|
|
||||||
android:text="@string/noble"
|
|
||||||
android:textColor="#B1B1B1"
|
|
||||||
android:textSize="13sp"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:id="@+id/view_no"
|
android:id="@+id/view_no"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -2,291 +2,297 @@
|
|||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="match_parent"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_gravity="bottom"
|
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<com.ms.banner.Banner
|
<com.yunbao.common.custom.DrawableTextView
|
||||||
android:id="@+id/banner"
|
android:id="@+id/live_time"
|
||||||
android:layout_width="78dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="106dp"
|
android:layout_height="23dp"
|
||||||
android:layout_gravity="right"
|
android:layout_marginTop="100dp"
|
||||||
android:layout_marginBottom="5dp"
|
android:layout_gravity="end"
|
||||||
app:delay_time="5000"
|
android:layout_centerVertical="true"
|
||||||
app:indicator_height="8dp"
|
android:layout_marginEnd="10dp"
|
||||||
app:indicator_width="8dp" />
|
android:background="@drawable/bg_live_push_time"
|
||||||
|
android:drawablePadding="5dp"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:paddingLeft="10dp"
|
||||||
|
android:paddingRight="10dp"
|
||||||
|
android:text="00:00"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textSize="10sp"
|
||||||
|
android:visibility="invisible"
|
||||||
|
app:dt_left_drawable="@drawable/bg_push_time_point"
|
||||||
|
app:dt_left_height="4dp"
|
||||||
|
app:dt_left_width="4dp" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/btn_start_dr_pk_view"
|
android:layout_width="match_parent"
|
||||||
android:layout_width="wrap_content"
|
android:orientation="vertical"
|
||||||
android:layout_height="wrap_content"
|
android:gravity="bottom"
|
||||||
android:layout_gravity="right"
|
android:layout_height="match_parent">
|
||||||
android:layout_marginBottom="10dp"
|
|
||||||
android:orientation="vertical">
|
|
||||||
|
|
||||||
|
<com.ms.banner.Banner
|
||||||
|
android:id="@+id/banner"
|
||||||
|
android:layout_width="78dp"
|
||||||
|
android:layout_height="106dp"
|
||||||
|
android:layout_gravity="right"
|
||||||
|
android:layout_marginBottom="5dp"
|
||||||
|
app:delay_time="5000"
|
||||||
|
app:indicator_height="8dp"
|
||||||
|
app:indicator_width="8dp" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/btn_start_dr_pk"
|
android:id="@+id/btn_start_dr_pk_view"
|
||||||
android:layout_width="100dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="40dp"
|
android:layout_height="wrap_content"
|
||||||
android:background="@mipmap/btn_big_blue"
|
android:layout_gravity="right"
|
||||||
android:gravity="center"
|
android:layout_marginBottom="10dp"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/start_pk"
|
|
||||||
android:textColor="#ffffffff"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/btn_dr_pk_nub"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="@string/number_of_remaining_times"
|
|
||||||
android:textColor="#ffe1e1e1"
|
|
||||||
android:textSize="8sp" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="horizontal">
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="40dp"
|
android:id="@+id/btn_start_dr_pk"
|
||||||
android:layout_height="40dp"
|
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:background="@mipmap/btn_purple"
|
|
||||||
android:gravity="center">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/btn_dr"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="center"
|
|
||||||
android:text="@string/invite_anchor"
|
|
||||||
android:textColor="#ffffffff"
|
|
||||||
android:textSize="10sp" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/btn_end_pk"
|
|
||||||
android:layout_width="40dp"
|
|
||||||
android:layout_height="40dp"
|
|
||||||
android:layout_marginLeft="10dp"
|
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:background="@mipmap/btn_white"
|
|
||||||
android:gravity="center">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="center"
|
|
||||||
android:text="@string/end_pk"
|
|
||||||
android:textColor="#ffb1b1b1"
|
|
||||||
android:textSize="10sp" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/btn_end_pk_dr"
|
|
||||||
android:layout_width="40dp"
|
|
||||||
android:layout_height="40dp"
|
|
||||||
android:layout_gravity="right"
|
|
||||||
android:layout_marginRight="10dp"
|
|
||||||
android:layout_marginLeft="10dp"
|
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:visibility="gone"
|
|
||||||
android:layout_marginBottom="10dp"
|
|
||||||
android:background="@mipmap/btn_white"
|
|
||||||
android:gravity="center">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="center"
|
|
||||||
android:text="@string/end_pk"
|
|
||||||
android:textColor="#ffb1b1b1"
|
|
||||||
android:textSize="10sp" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/btn_link_mic"
|
|
||||||
android:layout_width="50dp"
|
|
||||||
android:layout_height="50dp"
|
|
||||||
android:layout_gravity="right"
|
|
||||||
android:layout_marginRight="10dp"
|
|
||||||
android:layout_marginBottom="5dp"
|
|
||||||
android:background="@drawable/bg_live_link_mic"
|
|
||||||
android:gravity="center_horizontal"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:visibility="gone">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/link_mic_icon"
|
|
||||||
android:layout_width="30dp"
|
|
||||||
android:layout_height="30dp"
|
|
||||||
android:layout_marginTop="2dp"
|
|
||||||
android:src="@mipmap/icon_live_link_mic" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/link_mic_tip"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:gravity="center"
|
|
||||||
android:text="@string/live_link_mic_4"
|
|
||||||
android:textColor="@color/gray2"
|
|
||||||
android:textSize="10sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<RelativeLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="45dp"
|
|
||||||
android:layout_gravity="bottom">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/leave_img"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
android:scaleType="matrix"
|
|
||||||
android:src="@mipmap/zslk"
|
|
||||||
android:visibility="gone"
|
|
||||||
tools:visibility="visible" />
|
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
android:layout_centerVertical="true"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:layout_height="match_parent">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/et_input"
|
|
||||||
android:layout_marginStart="10dp"
|
|
||||||
android:layout_width="70dp"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_height="35dp"
|
|
||||||
android:src="@mipmap/live_anchor_msg" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/btn_pk"
|
|
||||||
android:layout_weight="1.5"
|
|
||||||
android:layout_width="100dp"
|
android:layout_width="100dp"
|
||||||
android:layout_centerVertical="true"
|
android:layout_height="40dp"
|
||||||
android:layout_height="35dp"
|
android:background="@mipmap/btn_big_blue"
|
||||||
android:src="@mipmap/live_anchor_pk" />
|
android:gravity="center"
|
||||||
|
android:orientation="vertical">
|
||||||
<ImageView
|
|
||||||
android:id="@+id/btn_fz"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_width="75dp"
|
|
||||||
android:layout_height="35dp"
|
|
||||||
android:src="@mipmap/live_anchor_fz" />
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/btn_task"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_width="75dp"
|
|
||||||
android:layout_height="35dp"
|
|
||||||
android:src="@mipmap/live_anchor_task" />
|
|
||||||
|
|
||||||
<RelativeLayout
|
|
||||||
android:layout_width="75dp"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_height="match_parent">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/btn_msg"
|
|
||||||
android:layout_width="75dp"
|
|
||||||
android:layout_height="35dp"
|
|
||||||
android:src="@mipmap/live_anchor_msg_notify" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/red_point"
|
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="14dp"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="4dp"
|
android:text="@string/start_pk"
|
||||||
android:layout_alignParentEnd="true"
|
android:textColor="#ffffffff"
|
||||||
android:layout_marginEnd="10dp"
|
android:textSize="12sp" />
|
||||||
android:background="@drawable/bg_red_point"
|
|
||||||
android:gravity="center"
|
|
||||||
android:includeFontPadding="false"
|
|
||||||
android:minWidth="14dp"
|
|
||||||
android:paddingLeft="3dp"
|
|
||||||
android:paddingRight="3dp"
|
|
||||||
android:text="1"
|
|
||||||
android:textColor="#fff"
|
|
||||||
android:textSize="10sp"
|
|
||||||
android:translationY="-4dp"
|
|
||||||
tools:visibility="visible"
|
|
||||||
android:visibility="invisible" />
|
|
||||||
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
<RelativeLayout
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:layout_width="75dp"
|
|
||||||
android:layout_height="match_parent">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:id="@+id/btn_function"
|
|
||||||
android:layout_width="75dp"
|
|
||||||
android:layout_height="35dp"
|
|
||||||
android:src="@mipmap/live_anchor_menu" />
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/red_menu"
|
android:id="@+id/btn_dr_pk_nub"
|
||||||
android:layout_width="6dp"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="6dp"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentEnd="true"
|
android:text="@string/number_of_remaining_times"
|
||||||
android:layout_marginTop="4dp"
|
android:textColor="#ffe1e1e1"
|
||||||
android:layout_marginEnd="18dp"
|
android:textSize="8sp" />
|
||||||
android:background="@drawable/live_room_menu_red"
|
|
||||||
android:gravity="center"
|
|
||||||
android:includeFontPadding="false"
|
|
||||||
android:minWidth="14dp"
|
|
||||||
android:paddingLeft="3dp"
|
|
||||||
android:paddingRight="3dp"
|
|
||||||
android:textColor="#fff"
|
|
||||||
android:textSize="10sp"
|
|
||||||
android:translationY="-4dp"
|
|
||||||
android:visibility="visible" />
|
|
||||||
|
|
||||||
</RelativeLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="40dp"
|
||||||
|
android:layout_height="40dp"
|
||||||
|
android:layout_marginTop="10dp"
|
||||||
|
android:background="@mipmap/btn_purple"
|
||||||
|
android:gravity="center">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/btn_dr"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="@string/invite_anchor"
|
||||||
|
android:textColor="#ffffffff"
|
||||||
|
android:textSize="10sp" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/btn_end_pk"
|
||||||
|
android:layout_width="40dp"
|
||||||
|
android:layout_height="40dp"
|
||||||
|
android:layout_marginLeft="10dp"
|
||||||
|
android:layout_marginTop="10dp"
|
||||||
|
android:background="@mipmap/btn_white"
|
||||||
|
android:gravity="center">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="@string/end_pk"
|
||||||
|
android:textColor="#ffb1b1b1"
|
||||||
|
android:textSize="10sp" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<com.yunbao.common.custom.DrawableTextView
|
<LinearLayout
|
||||||
android:id="@+id/live_time"
|
android:id="@+id/btn_end_pk_dr"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="40dp"
|
||||||
android:layout_height="34dp"
|
android:layout_height="40dp"
|
||||||
android:layout_centerVertical="true"
|
android:layout_gravity="right"
|
||||||
android:layout_marginStart="42dp"
|
android:layout_marginRight="10dp"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginLeft="10dp"
|
||||||
android:background="@drawable/bg_live_push_time"
|
android:layout_marginTop="10dp"
|
||||||
android:drawablePadding="5dp"
|
android:visibility="gone"
|
||||||
android:gravity="center_vertical"
|
android:layout_marginBottom="10dp"
|
||||||
android:paddingLeft="10dp"
|
android:background="@mipmap/btn_white"
|
||||||
android:paddingRight="10dp"
|
android:gravity="center">
|
||||||
android:text="00:00"
|
|
||||||
android:textColor="@color/white"
|
<TextView
|
||||||
android:textSize="10sp"
|
android:layout_width="wrap_content"
|
||||||
android:visibility="invisible"
|
android:layout_height="wrap_content"
|
||||||
app:dt_left_drawable="@drawable/bg_push_time_point"
|
android:gravity="center"
|
||||||
app:dt_left_height="4dp"
|
android:text="@string/end_pk"
|
||||||
app:dt_left_width="4dp" />
|
android:textColor="#ffb1b1b1"
|
||||||
|
android:textSize="10sp" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/btn_link_mic"
|
||||||
|
android:layout_width="50dp"
|
||||||
|
android:layout_height="50dp"
|
||||||
|
android:layout_gravity="right"
|
||||||
|
android:layout_marginRight="10dp"
|
||||||
|
android:layout_marginBottom="5dp"
|
||||||
|
android:background="@drawable/bg_live_link_mic"
|
||||||
|
android:gravity="center_horizontal"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:visibility="gone">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/link_mic_icon"
|
||||||
|
android:layout_width="30dp"
|
||||||
|
android:layout_height="30dp"
|
||||||
|
android:layout_marginTop="2dp"
|
||||||
|
android:src="@mipmap/icon_live_link_mic" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/link_mic_tip"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="@string/live_link_mic_4"
|
||||||
|
android:textColor="@color/gray2"
|
||||||
|
android:textSize="10sp" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="45dp"
|
||||||
|
android:layout_gravity="bottom">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/leave_img"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:scaleType="matrix"
|
||||||
|
android:src="@mipmap/zslk"
|
||||||
|
android:visibility="gone"
|
||||||
|
tools:visibility="visible" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_centerVertical="true"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/et_input"
|
||||||
|
android:layout_marginStart="10dp"
|
||||||
|
android:layout_width="70dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:layout_height="35dp"
|
||||||
|
android:src="@mipmap/live_anchor_msg" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/btn_pk"
|
||||||
|
android:layout_weight="1.5"
|
||||||
|
android:layout_width="100dp"
|
||||||
|
android:layout_centerVertical="true"
|
||||||
|
android:layout_height="35dp"
|
||||||
|
android:src="@mipmap/live_anchor_pk" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/btn_fz"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:layout_width="75dp"
|
||||||
|
android:layout_height="35dp"
|
||||||
|
android:src="@mipmap/live_anchor_fz" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/btn_task"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:layout_width="75dp"
|
||||||
|
android:layout_height="35dp"
|
||||||
|
android:src="@mipmap/live_anchor_task" />
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
|
android:layout_width="75dp"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/btn_msg"
|
||||||
|
android:layout_width="75dp"
|
||||||
|
android:layout_height="35dp"
|
||||||
|
android:src="@mipmap/live_anchor_msg_notify" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/red_point"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="14dp"
|
||||||
|
android:layout_marginTop="4dp"
|
||||||
|
android:layout_alignParentEnd="true"
|
||||||
|
android:layout_marginEnd="10dp"
|
||||||
|
android:background="@drawable/bg_red_point"
|
||||||
|
android:gravity="center"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:minWidth="14dp"
|
||||||
|
android:paddingLeft="3dp"
|
||||||
|
android:paddingRight="3dp"
|
||||||
|
android:text="1"
|
||||||
|
android:textColor="#fff"
|
||||||
|
android:textSize="10sp"
|
||||||
|
android:translationY="-4dp"
|
||||||
|
tools:visibility="visible"
|
||||||
|
android:visibility="invisible" />
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:layout_width="75dp"
|
||||||
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/btn_function"
|
||||||
|
android:layout_width="75dp"
|
||||||
|
android:layout_height="35dp"
|
||||||
|
android:src="@mipmap/live_anchor_menu" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/red_menu"
|
||||||
|
android:layout_width="6dp"
|
||||||
|
android:layout_height="6dp"
|
||||||
|
android:layout_alignParentEnd="true"
|
||||||
|
android:layout_marginTop="4dp"
|
||||||
|
android:layout_marginEnd="18dp"
|
||||||
|
android:background="@drawable/live_room_menu_red"
|
||||||
|
android:gravity="center"
|
||||||
|
android:includeFontPadding="false"
|
||||||
|
android:minWidth="14dp"
|
||||||
|
android:paddingLeft="3dp"
|
||||||
|
android:paddingRight="3dp"
|
||||||
|
android:textColor="#fff"
|
||||||
|
android:textSize="10sp"
|
||||||
|
android:translationY="-4dp"
|
||||||
|
android:visibility="visible" />
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
</RelativeLayout>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
Loading…
Reference in New Issue
Block a user