直播框高度调整,层级关系调整
This commit is contained in:
@@ -5,6 +5,7 @@ import android.view.View;
|
||||
|
||||
import com.mogo.module.common.entity.V2XEventShowEntity;
|
||||
import com.mogo.module.common.entity.V2XMessageEntity;
|
||||
import com.mogo.module.v2x.R;
|
||||
import com.mogo.module.v2x.V2XConst;
|
||||
import com.mogo.module.v2x.V2XServiceManager;
|
||||
import com.mogo.module.v2x.scenario.impl.AbsV2XScenario;
|
||||
@@ -77,11 +78,11 @@ public class V2XRoadLiveCarScenario extends AbsV2XScenario<List<V2XEventShowEnti
|
||||
public void showWindow() {
|
||||
Log.d(TAG,getV2XWindow().toString());
|
||||
if (getV2XWindow() != null) {
|
||||
V2XServiceManager
|
||||
.getMogoTopViewManager()
|
||||
.addSubView(getV2XWindow().getView(), this);
|
||||
getV2XWindow().show(getV2XMessageEntity().getContent());
|
||||
V2XServiceManager.getMoGoV2XStatusManager().setRoadLiveCarWindowShow(TAG, true);
|
||||
V2XServiceManager
|
||||
.getIMogoWindowManager()
|
||||
.addView(getV2XWindow().getView(), 0, 0, false);
|
||||
V2XServiceManager.getMoGoV2XStatusManager().setV2XAnimationWindowShow(TAG, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -193,13 +193,10 @@ public class V2XRoadLiveCarWindow extends RelativeLayout
|
||||
runnableV2XEvent = null;
|
||||
}
|
||||
|
||||
if (V2XServiceManager
|
||||
.getMogoTopViewManager().isViewAdded(this)) {
|
||||
//移除窗体
|
||||
V2XServiceManager
|
||||
.getMogoTopViewManager()
|
||||
.removeSubView(this);
|
||||
}
|
||||
//移除窗体
|
||||
V2XServiceManager
|
||||
.getIMogoWindowManager()
|
||||
.removeView(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user