广告模块已转移到AES项目。现在精简源码,保持基础源码结构精简。
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Mon Nov 17 13:13:22 GMT 2025
|
#Tue Nov 18 07:02:48 GMT 2025
|
||||||
stageCount=1
|
stageCount=1
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.11
|
baseVersion=15.11
|
||||||
publishVersion=15.11.0
|
publishVersion=15.11.0
|
||||||
buildCount=6
|
buildCount=7
|
||||||
baseBetaVersion=15.11.1
|
baseBetaVersion=15.11.1
|
||||||
|
|||||||
@@ -63,15 +63,5 @@
|
|||||||
|
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="ADs Demo"/>
|
|
||||||
|
|
||||||
<cc.winboll.studio.libappbase.ads.ADsBannerView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="500dp"
|
|
||||||
android:id="@+id/adsbanner"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Mon Nov 17 13:13:22 GMT 2025
|
#Tue Nov 18 07:02:48 GMT 2025
|
||||||
stageCount=1
|
stageCount=1
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.11
|
baseVersion=15.11
|
||||||
publishVersion=15.11.0
|
publishVersion=15.11.0
|
||||||
buildCount=6
|
buildCount=7
|
||||||
baseBetaVersion=15.11.1
|
baseBetaVersion=15.11.1
|
||||||
|
|||||||
@@ -1,49 +0,0 @@
|
|||||||
package cc.winboll.studio.libappbase.ads;
|
|
||||||
|
|
||||||
import android.content.Context;
|
|
||||||
import android.util.AttributeSet;
|
|
||||||
import android.view.View;
|
|
||||||
import android.widget.LinearLayout;
|
|
||||||
import cc.winboll.studio.libappbase.R;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @Author ZhanGSKen&豆包大模型<zhangsken@qq.com>
|
|
||||||
* @Date 2025/11/17 20:48
|
|
||||||
* @Describe WinBoLL 横幅广告类
|
|
||||||
*/
|
|
||||||
public class ADsBannerView extends LinearLayout {
|
|
||||||
|
|
||||||
public static final String TAG = "ADsBannerView";
|
|
||||||
|
|
||||||
Context mContext;
|
|
||||||
View mMianView;
|
|
||||||
|
|
||||||
public ADsBannerView(Context context) {
|
|
||||||
super(context);
|
|
||||||
this.mContext = context;
|
|
||||||
initView();
|
|
||||||
}
|
|
||||||
|
|
||||||
public ADsBannerView(Context context, AttributeSet attrs) {
|
|
||||||
super(context, attrs);
|
|
||||||
this.mContext = context;
|
|
||||||
initView();
|
|
||||||
}
|
|
||||||
|
|
||||||
public ADsBannerView(Context context, AttributeSet attrs, int defStyleAttr) {
|
|
||||||
super(context, attrs, defStyleAttr);
|
|
||||||
this.mContext = context;
|
|
||||||
initView();
|
|
||||||
}
|
|
||||||
|
|
||||||
public ADsBannerView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
|
|
||||||
super(context, attrs, defStyleAttr, defStyleRes);
|
|
||||||
this.mContext = context;
|
|
||||||
initView();
|
|
||||||
}
|
|
||||||
|
|
||||||
void initView() {
|
|
||||||
this.mMianView = inflate(this.mContext, R.layout.view_adsbanner, null);
|
|
||||||
addView(this.mMianView);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<LinearLayout
|
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
android:id="@+id/ads_container"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="WinBoLL ADs"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user