修改:貴族列表
This commit is contained in:
parent
86c7bd56d1
commit
2c56322b1c
@ -270,7 +270,7 @@
|
||||
<ImageView
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:src="@mipmap/icon_interaction_anchor_say" />
|
||||
android:src="@mipmap/icon_interaction_beauty" />
|
||||
|
||||
<TextView
|
||||
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.utils.CommonIconUtil;
|
||||
import com.yunbao.common.utils.DpUtil;
|
||||
import com.yunbao.common.utils.L;
|
||||
import com.yunbao.common.utils.SVGAViewUtils;
|
||||
import com.yunbao.common.utils.ToastUtil;
|
||||
import com.yunbao.common.views.weight.ClipPathCircleImage;
|
||||
@ -247,6 +248,8 @@ public class UserMoreInfoAdapter extends RefreshAdapter<UserBean> {
|
||||
} else {
|
||||
mRanksIcon.addView(rankImage, 0);
|
||||
}
|
||||
}else if(type.equals("6")){
|
||||
L.e("type==6");
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
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));
|
||||
} 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));
|
||||
}
|
||||
mLiveRoomHandler = new LiveRoomHandler();
|
||||
|
@ -61,7 +61,7 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
||||
private LiveGuardInfo mLiveGuardInfo;
|
||||
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 ConstraintLayout noMoreLayout;
|
||||
private TextView noMoreText;
|
||||
@ -155,6 +155,7 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
||||
audience_btn.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
noble = false;
|
||||
Tips = "1";
|
||||
Up();
|
||||
type = "guanzhong";
|
||||
@ -198,7 +199,17 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
||||
type = "weekRank";
|
||||
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);
|
||||
view_no = mRootView.findViewById(R.id.view_no);
|
||||
userMoreInfoAdapter = new UserMoreInfoAdapter(mContext, LiveUserMoreDialogFragment.this);
|
||||
@ -237,7 +248,6 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
||||
mRefreshView.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -335,18 +345,13 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
||||
});
|
||||
mRefreshView.initData();
|
||||
if (noble) {
|
||||
tabs.setVisibility(View.GONE);
|
||||
title.setVisibility(View.VISIBLE);
|
||||
title.setText(R.string.noble);
|
||||
userMoreInfoAdapter.setNoble(true);
|
||||
} else {
|
||||
} else {
|
||||
if (isOnly) {
|
||||
tabs.setVisibility(View.GONE);
|
||||
title.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -372,20 +377,25 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
||||
noMoreText.setVisibility(View.GONE);
|
||||
LinearLayout.LayoutParams params = (LinearLayout.LayoutParams) mRefreshView.getLayoutParams();
|
||||
params.bottomMargin = DpUtil.dp2px(65);
|
||||
if (Tips.equals("1")) {
|
||||
if(noble){
|
||||
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.setVisibility(View.GONE);
|
||||
setTextColor(gz_view,audience_btn, guard_btn, fans_btn, weekRank, dayRank);
|
||||
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";
|
||||
type = "guanzhong";
|
||||
} else if (Tips.equals("2")) {
|
||||
tags.setText(R.string.guard_for_your);
|
||||
btn.setBackgroundResource(R.mipmap.btn_openprotection);
|
||||
btn.setText(R.string.daemon_list);
|
||||
setTextColor(guard_btn, audience_btn, fans_btn, dayRank, weekRank);
|
||||
gz_view.setVisibility(View.GONE);
|
||||
setTextColor(guard_btn, audience_btn, fans_btn, dayRank, weekRank,gz_view);
|
||||
userMoreInfoAdapter.type = "2";
|
||||
no_more.setImageResource(R.mipmap.ic_guard_not);
|
||||
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);
|
||||
btn.setText(R.string.Join_a_fan_club);
|
||||
btn.setBackgroundResource(R.mipmap.btn_joinfans);
|
||||
setTextColor(fans_btn, audience_btn, guard_btn, dayRank, weekRank);
|
||||
gz_view.setVisibility(View.GONE);
|
||||
setTextColor(fans_btn, audience_btn, guard_btn, dayRank, weekRank,gz_view);
|
||||
userMoreInfoAdapter.type = "3";
|
||||
type = "fans";
|
||||
no_more.setImageResource(R.mipmap.bixin);
|
||||
@ -406,7 +415,6 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
||||
bottom_msg.setVisibility(View.GONE);
|
||||
type = "dayRank";
|
||||
setTextColor(dayRank, audience_btn, guard_btn, fans_btn, gz_view, weekRank);
|
||||
gz_view.setVisibility(View.GONE);
|
||||
no_more.setImageResource(R.drawable.img_rank_empty);
|
||||
noMoreText.setText(R.string.no_more_day_rank);
|
||||
noMoreText.setVisibility(View.VISIBLE);
|
||||
@ -415,7 +423,6 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
||||
userMoreInfoAdapter.type = "5";
|
||||
bottom_msg.setVisibility(View.GONE);
|
||||
type = "weekRank";
|
||||
gz_view.setVisibility(View.GONE);
|
||||
no_more.setImageResource(R.drawable.img_rank_empty);
|
||||
noMoreText.setText(R.string.no_more_day_rank);
|
||||
setTextColor(weekRank, audience_btn, guard_btn, fans_btn, gz_view, dayRank);
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<corners android:radius="10dp"/>
|
||||
<corners android:radius="11.5dp"/>
|
||||
<solid android:color="#33000000"/>
|
||||
</shape>
|
@ -42,7 +42,7 @@
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="@string/day_rank"
|
||||
android:textColor="#fff6f7fb"
|
||||
android:textColor="#ff646464"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
@ -52,7 +52,7 @@
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:text="@string/week_rank"
|
||||
android:textColor="#fff6f7fb"
|
||||
android:textColor="#ff646464"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
@ -62,7 +62,17 @@
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
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" />
|
||||
|
||||
<TextView
|
||||
@ -87,17 +97,6 @@
|
||||
android:textSize="16sp" />
|
||||
</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
|
||||
android:id="@+id/view_no"
|
||||
android:layout_width="match_parent"
|
||||
|
@ -2,291 +2,297 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_gravity="bottom"
|
||||
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" />
|
||||
<com.yunbao.common.custom.DrawableTextView
|
||||
android:id="@+id/live_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="23dp"
|
||||
android:layout_marginTop="100dp"
|
||||
android:layout_gravity="end"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginEnd="10dp"
|
||||
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
|
||||
android:id="@+id/btn_start_dr_pk_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:orientation="vertical">
|
||||
android:layout_width="match_parent"
|
||||
android:orientation="vertical"
|
||||
android:gravity="bottom"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<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
|
||||
android:id="@+id/btn_start_dr_pk"
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="40dp"
|
||||
android:background="@mipmap/btn_big_blue"
|
||||
android:gravity="center"
|
||||
android:id="@+id/btn_start_dr_pk_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:layout_marginBottom="10dp"
|
||||
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
|
||||
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
|
||||
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:id="@+id/btn_start_dr_pk"
|
||||
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" />
|
||||
android:layout_height="40dp"
|
||||
android:background="@mipmap/btn_big_blue"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<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" />
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/start_pk"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<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" />
|
||||
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" />
|
||||
|
||||
</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>
|
||||
|
||||
<com.yunbao.common.custom.DrawableTextView
|
||||
android:id="@+id/live_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="34dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginStart="42dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
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
|
||||
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_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>
|
Loading…
Reference in New Issue
Block a user