贵族开通全服通知
This commit is contained in:
parent
0d219e4b6d
commit
011322dd8e
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -80,7 +80,7 @@ public class NobleNoticeView extends FrameLayout {
|
|||||||
rootView = LayoutInflater.from(mContext).inflate(R.layout.view_noble_notice, this, true);
|
rootView = LayoutInflater.from(mContext).inflate(R.layout.view_noble_notice, this, true);
|
||||||
svagaBc = rootView.findViewById(R.id.svaga_bc);
|
svagaBc = rootView.findViewById(R.id.svaga_bc);
|
||||||
rootLayout = rootView.findViewById(R.id.root_layout);
|
rootLayout = rootView.findViewById(R.id.root_layout);
|
||||||
gotoRoomView = rootView.findViewById(R.id.goto_room_view);
|
gotoRoomView = rootView.findViewById(R.id.got_room_view);
|
||||||
contextLayout = rootView.findViewById(R.id.context_layout);
|
contextLayout = rootView.findViewById(R.id.context_layout);
|
||||||
scrollLayout = rootView.findViewById(R.id.scroll_layout);
|
scrollLayout = rootView.findViewById(R.id.scroll_layout);
|
||||||
nobleIcon = rootView.findViewById(R.id.noble_icon);
|
nobleIcon = rootView.findViewById(R.id.noble_icon);
|
||||||
@ -111,7 +111,6 @@ public class NobleNoticeView extends FrameLayout {
|
|||||||
findViewById(R.id.anchor_nickname).setVisibility(GONE);
|
findViewById(R.id.anchor_nickname).setVisibility(GONE);
|
||||||
openNoble.setText(mContext.getString(R.string.open_noble2));
|
openNoble.setText(mContext.getString(R.string.open_noble2));
|
||||||
}else {
|
}else {
|
||||||
gotoRoomView.setVisibility(VISIBLE);
|
|
||||||
findViewById(R.id.in).setVisibility(VISIBLE);
|
findViewById(R.id.in).setVisibility(VISIBLE);
|
||||||
findViewById(R.id.anchor_nickname).setVisibility(VISIBLE);
|
findViewById(R.id.anchor_nickname).setVisibility(VISIBLE);
|
||||||
openNoble.setText(mContext.getString(R.string.open_noble));
|
openNoble.setText(mContext.getString(R.string.open_noble));
|
||||||
@ -254,7 +253,7 @@ public class NobleNoticeView extends FrameLayout {
|
|||||||
@Override
|
@Override
|
||||||
public void onStep(int frame, double v) {
|
public void onStep(int frame, double v) {
|
||||||
System.out.println("frame = " + frame);
|
System.out.println("frame = " + frame);
|
||||||
if (frame == 10) {
|
if (frame == 20) {
|
||||||
setButtonPosition(roleType);
|
setButtonPosition(roleType);
|
||||||
observable.observeOn(AndroidSchedulers.mainThread())
|
observable.observeOn(AndroidSchedulers.mainThread())
|
||||||
.subscribe(bitmap -> {
|
.subscribe(bitmap -> {
|
||||||
@ -270,7 +269,7 @@ public class NobleNoticeView extends FrameLayout {
|
|||||||
}).isDisposed();
|
}).isDisposed();
|
||||||
|
|
||||||
}
|
}
|
||||||
if (frame == 150) {
|
if (frame == 135) {
|
||||||
contextLayout.setVisibility(GONE);
|
contextLayout.setVisibility(GONE);
|
||||||
gotoRoomView.setVisibility(GONE);
|
gotoRoomView.setVisibility(GONE);
|
||||||
scrollLayout.clearAnimation();
|
scrollLayout.clearAnimation();
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/goto_room_view"
|
android:id="@+id/got_room_view"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentEnd="true"
|
android:layout_alignParentEnd="true"
|
||||||
@ -33,7 +33,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="42dp"
|
android:layout_marginTop="42dp"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginEnd="10dp"
|
||||||
android:layout_toStartOf="@id/goto_room_view"
|
android:layout_toStartOf="@id/got_room_view"
|
||||||
android:scrollbars="none">
|
android:scrollbars="none">
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
|
@ -10,9 +10,9 @@ ext {
|
|||||||
manifestPlaceholders = [
|
manifestPlaceholders = [
|
||||||
//正式
|
//正式
|
||||||
|
|
||||||
serverHost : "https://napi.yaoulive.com",
|
// serverHost : "https://napi.yaoulive.com",
|
||||||
//測試
|
//測試
|
||||||
// serverHost : "https://ceshi.yaoulive.com",
|
serverHost : "https://ceshi.yaoulive.com",
|
||||||
|
|
||||||
//腾讯地图
|
//腾讯地图
|
||||||
txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB",
|
txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB",
|
||||||
|
@ -528,9 +528,9 @@ public class LiveTextRender {
|
|||||||
int indexX = 80;
|
int indexX = 80;
|
||||||
//水印的位置坐标
|
//水印的位置坐标
|
||||||
if (level.length() > 2) {
|
if (level.length() > 2) {
|
||||||
indexX = 75;
|
indexX = 87;
|
||||||
} else {
|
} else {
|
||||||
indexX = 84;
|
indexX = 95;
|
||||||
}
|
}
|
||||||
mCanvas.drawText(level, indexX, 53, mPaint);
|
mCanvas.drawText(level, indexX, 53, mPaint);
|
||||||
mCanvas.save();
|
mCanvas.save();
|
||||||
|
@ -9,6 +9,11 @@
|
|||||||
|
|
||||||
android:paddingTop="15dp">
|
android:paddingTop="15dp">
|
||||||
|
|
||||||
|
<com.yunbao.common.views.weight.NobleNoticeView
|
||||||
|
android:id="@+id/noble"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_marginTop="60dp"
|
||||||
|
android:layout_height="wrap_content" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/lin"
|
android:id="@+id/lin"
|
||||||
@ -2089,13 +2094,6 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/live_video" />
|
android:layout_below="@id/live_video" />
|
||||||
|
|
||||||
<com.yunbao.common.views.weight.NobleNoticeView
|
|
||||||
android:id="@+id/noble"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_below="@id/live_wks_layout"
|
|
||||||
android:layout_marginTop="10dp" />
|
|
||||||
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/bannerLayout"
|
android:id="@+id/bannerLayout"
|
||||||
|
Loading…
Reference in New Issue
Block a user