测试修改
This commit is contained in:
parent
5eac127142
commit
5006b8414e
@ -89,14 +89,17 @@ public class LiveFloatView implements Function1<FloatCallbacks.Builder, Unit> {
|
|||||||
float videoWidth = param.getInt("EVT_PARAM1", 0);
|
float videoWidth = param.getInt("EVT_PARAM1", 0);
|
||||||
float videoHeight = param.getInt("EVT_PARAM2", 0);
|
float videoHeight = param.getInt("EVT_PARAM2", 0);
|
||||||
Log.e("视频流有", "videoWidth:" + videoWidth + " videoHeight:" + videoHeight);
|
Log.e("视频流有", "videoWidth:" + videoWidth + " videoHeight:" + videoHeight);
|
||||||
if (videoWidth > 720) {
|
if (mLiveBean.getLandscape() != 1){
|
||||||
cardParams.height = DpUtil.dp2px(130);
|
if (videoWidth > 720) {
|
||||||
cardParams.width = DpUtil.dp2px(230);
|
cardParams.height = DpUtil.dp2px(130);
|
||||||
} else {
|
cardParams.width = DpUtil.dp2px(230);
|
||||||
cardParams.height = DpUtil.dp2px(224);
|
} else {
|
||||||
cardParams.width = DpUtil.dp2px(126);
|
cardParams.height = DpUtil.dp2px(224);
|
||||||
|
cardParams.width = DpUtil.dp2px(126);
|
||||||
|
}
|
||||||
|
layout.setLayoutParams(cardParams);
|
||||||
}
|
}
|
||||||
layout.setLayoutParams(cardParams);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -25,7 +25,7 @@ ext {
|
|||||||
baiduAppSecretKey: "nEVSgmuGpU0pjPr6VleEGGAl0hzGW52S",
|
baiduAppSecretKey: "nEVSgmuGpU0pjPr6VleEGGAl0hzGW52S",
|
||||||
|
|
||||||
// true表示谷歌支付 false
|
// true表示谷歌支付 false
|
||||||
isGooglePlay : true,
|
isGooglePlay : false,
|
||||||
//是否上报异常日志
|
//是否上报异常日志
|
||||||
isUploadLog : true
|
isUploadLog : true
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user