Commit 5bd9ebd3 authored by 王雪伟's avatar 王雪伟

激励视频布局

parent d0f21318
package com.ym.zxhcsdk.ads;
import android.app.Activity;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.util.Log;
......@@ -12,6 +13,8 @@ import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import com.ym.zxhcsdk.HttpClientUtils;
import com.ym.zxhcsdk.R;
import com.ym.zxhcsdk.listener.RewardVideoAdUpdateViewListener;
......@@ -45,6 +48,35 @@ public class RewardvideoPortraitADActivity extends Activity implements SurfaceHo
bottomBtnTv = findViewById(R.id.reward_video_ad_btn);
TopTimeTv = findViewById(R.id.reward_ad_time);
TopClose = findViewById(R.id.reward_ad_close);
//设置底部信息
// bottomTitle.setText(zxRewardAdBean.getVideo_title());
// bottomDesc.setText(zxRewardAdBean.getVideo_desc());
// bottomBtnTv.setText(zxRewardAdBean.getVideo_iconbuttontext());
//
// HttpClientUtils.LoadImg(zxRewardAdBean.getVideo_icon_url(), new HttpClientUtils.OnRequestImgCallBack() {
// @Override
// public void onSuccess(Bitmap bitmap) {
// runOnUiThread(new Runnable() {
// @Override
// public void run() {
// bottomIcon.setImageBitmap(bitmap);
// }
// });
// }
//
// @Override
// public void onError(String errorMsg) {
//
// }
// });
findViewById(R.id.ll_bottom_download).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
......
......@@ -114,7 +114,7 @@
android:textSize="20dp"
android:background="@drawable/btn_bg"
android:gravity="center"
android:text="11" />
android:text="" />
</LinearLayout>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment