1.ADSWindowManager单例中防止所有视频广告位都无法播放进入播放死循环
2.自定义组件在layout目录缺失xml文件进行补充
This commit is contained in:
35
app/src/main/res/layout/ad_multi_layout.xml
Normal file
35
app/src/main/res/layout/ad_multi_layout.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/layout_rect_group"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:ignore="MissingDefaultResource">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/multi_inside"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
>
|
||||
<ImageView
|
||||
android:id="@+id/img_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"/>
|
||||
<TextView
|
||||
android:id="@+id/tx_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="53dp"
|
||||
android:background="@drawable/item_text_bg"
|
||||
android:textSize="15sp"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingBottom="19dp"
|
||||
android:gravity="left"
|
||||
android:textColor="@color/btn_text_color"/>
|
||||
<RelativeLayout
|
||||
android:id="@+id/ad_root"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
Reference in New Issue
Block a user