Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_goodmoney
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_goodmoney
Commits
663594f8
Commit
663594f8
authored
Nov 03, 2021
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码提交
parent
503e89c6
Changes
33
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
889 additions
and
585 deletions
+889
-585
build.gradle
GoodMoney/app/build.gradle
+5
-4
open_ad_sdk_4.0.1.9.aar
GoodMoney/app/libs/open_ad_sdk_4.0.1.9.aar
+0
-0
tools_release.aar
GoodMoney/app/libs/tools_release.aar
+0
-0
proguard-rules.pro
GoodMoney/app/proguard-rules.pro
+11
-113
AndroidManifest.xml
GoodMoney/app/src/main/AndroidManifest.xml
+10
-12
KsPreLoadExpressManager.kt
...com/mints/goodmoney/ad/express/KsPreLoadExpressManager.kt
+29
-26
CsjVideoAdManager.java
.../java/com/mints/goodmoney/ad/video/CsjVideoAdManager.java
+11
-12
VideoAdingManager.java
.../java/com/mints/goodmoney/ad/video/VideoAdingManager.java
+0
-1
TtCsjAdManager.java
...main/java/com/mints/goodmoney/manager/TtCsjAdManager.java
+0
-1
MyFragment.kt
...c/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
+8
-4
feed_live_ad_status_icon.png
.../src/main/res/drawable-xhdpi/feed_live_ad_status_icon.png
+0
-0
feed_live_icon_red.png
...ey/app/src/main/res/drawable-xhdpi/feed_live_icon_red.png
+0
-0
btn_bg_creative.xml
GoodMoney/app/src/main/res/drawable/btn_bg_creative.xml
+7
-0
circle_solid_main.xml
GoodMoney/app/src/main/res/drawable/circle_solid_main.xml
+5
-0
demo_mute.png
GoodMoney/app/src/main/res/drawable/demo_mute.png
+0
-0
listitem_ad_download_btn_layout.xml
...p/src/main/res/layout/listitem_ad_download_btn_layout.xml
+2
-3
listitem_ad_group_pic.xml
GoodMoney/app/src/main/res/layout/listitem_ad_group_pic.xml
+82
-88
listitem_ad_icon_source_layout.xml
...pp/src/main/res/layout/listitem_ad_icon_source_layout.xml
+1
-1
listitem_ad_large_pic.xml
GoodMoney/app/src/main/res/layout/listitem_ad_large_pic.xml
+61
-50
listitem_ad_large_video.xml
...Money/app/src/main/res/layout/listitem_ad_large_video.xml
+63
-52
listitem_ad_native_express.xml
...ey/app/src/main/res/layout/listitem_ad_native_express.xml
+8
-6
listitem_ad_small_pic.xml
GoodMoney/app/src/main/res/layout/listitem_ad_small_pic.xml
+97
-90
listitem_ad_title_creative_btn_layout.xml
...main/res/layout/listitem_ad_title_creative_btn_layout.xml
+5
-12
listitem_ad_vertical_live.xml
...ney/app/src/main/res/layout/listitem_ad_vertical_live.xml
+165
-0
listitem_ad_vertical_pic.xml
...oney/app/src/main/res/layout/listitem_ad_vertical_pic.xml
+108
-92
listitem_normal.xml
GoodMoney/app/src/main/res/layout/listitem_normal.xml
+16
-0
native_ad.xml
GoodMoney/app/src/main/res/layout/native_ad.xml
+80
-0
native_draw_action_item.xml
...Money/app/src/main/res/layout/native_draw_action_item.xml
+43
-0
native_insert_ad_layout.xml
...Money/app/src/main/res/layout/native_insert_ad_layout.xml
+59
-0
strings.xml
GoodMoney/app/src/main/res/values/strings.xml
+6
-0
file_paths.xml
GoodMoney/app/src/main/res/xml/file_paths.xml
+5
-15
network_security_config.xml
GoodMoney/app/src/main/res/xml/network_security_config.xml
+1
-0
build.gradle
GoodMoney/build.gradle
+1
-3
No files found.
GoodMoney/app/build.gradle
View file @
663594f8
...
@@ -37,8 +37,7 @@ android {
...
@@ -37,8 +37,7 @@ android {
UMENG_KEY
:
RELEASE_UMENG_KEY
,
UMENG_KEY
:
RELEASE_UMENG_KEY
,
SHARE_KEY
:
RELEASE_SHARESDK_KEY
,
SHARE_KEY
:
RELEASE_SHARESDK_KEY
,
SHARE_SECRET
:
RELEASE_SHARESDK_SECRET
,
SHARE_SECRET
:
RELEASE_SHARESDK_SECRET
,
APPLICATION_ID
:
applicationId
,
APPLICATION_ID
:
applicationId
]
APPLOG_SCHEME
:
"rangersapplog.98d71e505549780b"
.
toLowerCase
()]
}
}
...
@@ -343,8 +342,10 @@ dependencies {
...
@@ -343,8 +342,10 @@ dependencies {
// androidTestImplementation 'androidx.test.ext:junit:1.1.2'
// androidTestImplementation 'androidx.test.ext:junit:1.1.2'
// androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
// androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
// 穿山甲广告
// 穿山甲广告 4.0.11
implementation
(
name:
'open_ad_sdk_4.0.1.1'
,
ext:
'aar'
)
// implementation(name: 'open_ad_sdk_4.0.1.9', ext: 'aar')
implementation
'com.pangle.cn:ads-sdk-pro:4.0.1.9'
implementation
(
name:
'tools_release'
,
ext:
'aar'
)
// 广点通广告 腾讯
// 广点通广告 腾讯
implementation
(
name:
'GDTSDK.unionNormal.4.420.1290'
,
ext:
'aar'
)
implementation
(
name:
'GDTSDK.unionNormal.4.420.1290'
,
ext:
'aar'
)
// 快手
// 快手
...
...
GoodMoney/app/libs/open_ad_sdk_4.0.1.
1
.aar
→
GoodMoney/app/libs/open_ad_sdk_4.0.1.
9
.aar
View file @
663594f8
No preview for this file type
GoodMoney/app/libs/tools_release.aar
0 → 100644
View file @
663594f8
File added
GoodMoney/app/proguard-rules.pro
View file @
663594f8
...
@@ -323,7 +323,8 @@
...
@@ -323,7 +323,8 @@
# ===================== 穿山甲 START ================
# ===================== 穿山甲 START ================
-keep class com.bytedance.sdk.openadsdk.
*
* { *; }
-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
-keep class com.bytedance.sdk.openadsdk.
*
* {*;}
-keep public interface com.bytedance.sdk.openadsdk.downloadnew.
*
* {*;}
-keep public interface com.bytedance.sdk.openadsdk.downloadnew.
*
* {*;}
-keep class com.pgl.sys.ces.* {*;}
-keep class com.pgl.sys.ces.* {*;}
# ======================= 穿山甲 END ================
# ======================= 穿山甲 END ================
...
@@ -371,13 +372,6 @@
...
@@ -371,13 +372,6 @@
# ======================= 数美 END ================
# ======================= 数美 END ================
# ===================== 猎豹游戏 START ================
-keep class com.cmgame.x5fit.
*
* {*;}
-keep class com.cmgame.gdtfit.
*
* {*;}
-keep class com.cmcm.cmgame.
*
* {*;}
# ======================= 猎豹游戏 END ================
# ===================== 移动安全联盟 START ================
# ===================== 移动安全联盟 START ================
...
@@ -387,56 +381,6 @@
...
@@ -387,56 +381,6 @@
# ===================== 一览视频 START ================
-keep class com.yilan.sdk.
*
*{
*;
}
-dontwarn javax.annotation.
*
*
-dontwarn sun.misc.Unsafe
-dontwarn org.conscrypt.*
-dontwarn okio.
*
*
###阿里云混淆
-keep class com.alibaba.sdk.android.
*
*{*;}
-keep class com.ut.
*
*{*;}
-keep class com.ta.
*
*{*;}
###其他混淆
-keep class android.support.v4.
*
*{
public *;
}
-keep class android.support.v7.
*
*{
public *;
}
-keep class org.chromium.
*
* {*;}
-keep class org.chromium.
*
* { *; }
-keep class aegon.chrome.
*
* { *; }
-keep class com.kwai.
*
*{ *; }
-dontwarn com.kwai.
*
*
-dontwarn com.kwad.
*
*
-dontwarn com.ksad.
*
*
-dontwarn aegon.chrome.
*
*
-keepclassmembers class * extends android.app.Activity { public void *(android.view.View);
}
-keepclassmembers enum * {
public static
*
*[] values();
public static
*
* valueOf(java.lang.String);
}
-keep class com.baidu.mobads.*.
*
* { *; }
#ijkplayer
-keep class tv.danmaku.ijk.media.player.
*
* {*;}
-keep class tv.danmaku.ijk.media.player.IjkMediaPlayer{*;}
-keep class tv.danmaku.ijk.media.player.ffmpeg.FFmpegApi{*;}
# ======================= 一览视频 END ================
...
@@ -644,15 +588,15 @@
...
@@ -644,15 +588,15 @@
# ===================== 快手 START ================
好兔视频已混淆
# ===================== 快手 START ================
#
-keep class org.chromium.
*
* {*;}
-keep class org.chromium.
*
* {*;}
#
-keep class org.chromium.
*
* { *; }
-keep class org.chromium.
*
* { *; }
#
-keep class aegon.chrome.
*
* { *; }
-keep class aegon.chrome.
*
* { *; }
#
-keep class com.kwai.
*
*{ *; }
-keep class com.kwai.
*
*{ *; }
#
-dontwarn com.kwai.
*
*
-dontwarn com.kwai.
*
*
#
-dontwarn com.kwad.
*
*
-dontwarn com.kwad.
*
*
#
-dontwarn com.ksad.
*
*
-dontwarn com.ksad.
*
*
#
-dontwarn aegon.chrome.
*
*
-dontwarn aegon.chrome.
*
*
# ======================= 快手 END ================
# ======================= 快手 END ================
...
@@ -811,37 +755,6 @@
...
@@ -811,37 +755,6 @@
-keep class com.mdad.sdk.mduisdk.shouguan.
*
* { *; }
-keep class com.mdad.sdk.mduisdk.shouguan.
*
* { *; }
# ======================= 愉悦赚 END ================
# ======================= 愉悦赚 END ================
# ======================= 穿山甲 GroMore START ================
#pangle
-keep class com.bytedance.sdk.openadsdk.
*
* { *; }
-keep public interface com.bytedance.sdk.openadsdk.downloadnew.
*
* {*;}
-keep class com.pgl.sys.ces.* {*;}
#聚合混淆
-keep class bykvm*.
*
*
-keep class com.bytedance.msdk.adapter.
*
*{ public *; }
-keep class com.bytedance.msdk.api.
*
* {
public *;
}
-keep class com.bytedance.msdk.base.TTBaseAd{*;}
-keep class com.bytedance.msdk.adapter.TTAbsAdLoaderAdapter{
public *;
protected <fields>;
}
# baidu sdk 不接入baidu sdk可以不引入
-keepclassmembers enum * {
public static
*
*[] values();
public static
*
* valueOf(java.lang.String);
}
-keep class com.baidu.mobads.
*
* { *; }
-keep class com.baidu.mobad.
*
* { *; }
-keep class com.bun.miitmdid.core.
*
* {*;}
#ks 快手 不接入ks sdk可以不引入
#ks 快手 不接入ks sdk可以不引入
-keep class org.chromium.
*
* {*;}
-keep class org.chromium.
*
* {*;}
-keep class org.chromium.
*
* { *; }
-keep class org.chromium.
*
* { *; }
...
@@ -852,19 +765,4 @@
...
@@ -852,19 +765,4 @@
-dontwarn com.ksad.
*
*
-dontwarn com.ksad.
*
*
-dontwarn aegon.chrome.
*
*
-dontwarn aegon.chrome.
*
*
# Admob 不接入admob sdk可以不引入
-keep class com.google.android.gms.ads.MobileAds {
public *;
}
#sigmob 不接入sigmob sdk可以不引入
-dontwarn android.support.v4.
*
*
-keep class android.support.v4.
*
* { *; }
-keep interface android.support.v4.
*
* { *; }
-keep public class * extends android.support.v4.
*
*
-keep class sun.misc.Unsafe { *; }
-dontwarn com.sigmob.
*
*
-keep class com.sigmob.
*
*.
*
*{*;}
# ======================= 穿山甲 GroMore END ================
# ======================= 穿山甲 GroMore END ================
\ No newline at end of file
GoodMoney/app/src/main/AndroidManifest.xml
View file @
663594f8
...
@@ -11,10 +11,10 @@
...
@@ -11,10 +11,10 @@
<uses-permission
android:name=
"android.permission.ACCESS_FINE_LOCATION"
/>
<uses-permission
android:name=
"android.permission.ACCESS_FINE_LOCATION"
/>
<uses-permission
android:name=
"android.permission.REQUEST_INSTALL_PACKAGES"
/>
<uses-permission
android:name=
"android.permission.REQUEST_INSTALL_PACKAGES"
/>
<uses-permission
android:name=
"android.permission.GET_TASKS"
/>
<uses-permission
android:name=
"android.permission.GET_TASKS"
/>
<uses-permission
android:name=
"android.permission.WAKE_LOCK"
/>
<uses-permission
android:name=
"android.permission.WRITE_SETTINGS"
/>
<uses-permission
android:name=
"android.permission.WRITE_SETTINGS"
/>
<uses-permission
android:name=
"android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"
/>
<uses-permission
android:name=
"android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"
/>
<uses-permission
android:name=
"android.permission.PACKAGE_USAGE_STATS"
/>
<uses-permission
android:name=
"android.permission.PACKAGE_USAGE_STATS"
/>
<uses-permission
android:name=
"android.permission.WAKE_LOCK"
/>
<permission
android:name=
"com.mints.goodmoney.permission.JPUSH_MESSAGE"
/>
<permission
android:name=
"com.mints.goodmoney.permission.JPUSH_MESSAGE"
/>
...
@@ -60,6 +60,7 @@
...
@@ -60,6 +60,7 @@
<application
<application
android:name=
".MintsApplication"
android:name=
".MintsApplication"
android:allowBackup=
"true"
android:allowBackup=
"true"
android:appComponentFactory=
"android.support.v4.app.CoreComponentFactory"
android:icon=
"@mipmap/ic_launcher_main"
android:icon=
"@mipmap/ic_launcher_main"
android:label=
"@string/app_name"
android:label=
"@string/app_name"
android:largeHeap=
"true"
android:largeHeap=
"true"
...
@@ -69,7 +70,7 @@
...
@@ -69,7 +70,7 @@
android:theme=
"@style/CustomAppTheme"
android:theme=
"@style/CustomAppTheme"
android:usesCleartextTraffic=
"true"
android:usesCleartextTraffic=
"true"
tools:ignore=
"GoogleAppIndexingWarning"
tools:ignore=
"GoogleAppIndexingWarning"
tools:replace=
"android:theme"
>
tools:replace=
"android:
appComponentFactory,android:
theme"
>
<uses-library
<uses-library
android:name=
"org.apache.http.legacy"
android:name=
"org.apache.http.legacy"
...
@@ -368,24 +369,21 @@
...
@@ -368,24 +369,21 @@
android:resource=
"@xml/ywsdk_file_paths"
/>
android:resource=
"@xml/ywsdk_file_paths"
/>
</provider>
</provider>
<!-- 穿山甲广告 -->
<!-- 穿山甲广告 -->
<provider
android:name=
"com.bytedance.sdk.openadsdk.multipro.TTMultiProvider"
android:authorities=
"${applicationId}.TTMultiProvider"
android:exported=
"false"
/>
<provider
<provider
android:name=
"com.bytedance.sdk.openadsdk.TTFileProvider"
android:name=
"com.bytedance.sdk.openadsdk.TTFileProvider"
android:authorities=
"${applicationId}.TTFileProvider"
android:authorities=
"${applicationId}.TTFileProvider"
android:exported=
"false"
android:exported=
"false"
android:grantUriPermissions=
"true"
android:grantUriPermissions=
"true"
>
tools:replace=
"android:authorities"
>
<meta-data
<meta-data
android:name=
"android.support.FILE_PROVIDER_PATHS"
android:name=
"android.support.FILE_PROVIDER_PATHS"
android:resource=
"@xml/pangle_file_paths
"
tools:replace=
"android:resource
"
tools:replace=
"android:resource
"
/>
android:resource=
"@xml/file_paths
"
/>
</provider>
</provider>
<provider
android:name=
"com.bytedance.sdk.openadsdk.multipro.TTMultiProvider"
android:authorities=
"${applicationId}.TTMultiProvider"
android:exported=
"false"
/>
<!-- 广点通广告 -->
<!-- 广点通广告 -->
<uses-library
<uses-library
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ad/express/KsPreLoadExpressManager.kt
View file @
663594f8
...
@@ -35,9 +35,9 @@ object KsPreLoadExpressManager {
...
@@ -35,9 +35,9 @@ object KsPreLoadExpressManager {
try
{
try
{
var
ksNativeAd
:
KsNativeAd
?
var
ksNativeAd
:
KsNativeAd
?
val
scene
=
KsScene
val
scene
=
KsScene
.
Builder
(
KsManager
.
KS_AD_NATIVEEXPRESS_AWARD
)
.
Builder
(
KsManager
.
KS_AD_NATIVEEXPRESS_AWARD
)
.
adNum
(
1
)
.
adNum
(
1
)
.
build
()
.
build
()
KsAdSDK
.
getLoadManager
().
loadNativeAd
(
scene
,
object
:
KsLoadManager
.
NativeAdListener
{
KsAdSDK
.
getLoadManager
().
loadNativeAd
(
scene
,
object
:
KsLoadManager
.
NativeAdListener
{
override
fun
onError
(
p0
:
Int
,
p1
:
String
?)
{
override
fun
onError
(
p0
:
Int
,
p1
:
String
?)
{
LogUtil
.
d
(
"$p0 -> $p1"
)
LogUtil
.
d
(
"$p0 -> $p1"
)
...
@@ -82,7 +82,8 @@ object KsPreLoadExpressManager {
...
@@ -82,7 +82,8 @@ object KsPreLoadExpressManager {
* 使用SDK渲染的播放控件
* 使用SDK渲染的播放控件
*/
*/
private
fun
getVideoItemView
(
parent
:
ViewGroup
,
ksNativeAd
:
KsNativeAd
):
View
?
{
private
fun
getVideoItemView
(
parent
:
ViewGroup
,
ksNativeAd
:
KsNativeAd
):
View
?
{
val
convertView
:
View
=
LayoutInflater
.
from
(
mContext
).
inflate
(
R
.
layout
.
native_item_video
,
parent
,
false
)
val
convertView
:
View
=
LayoutInflater
.
from
(
mContext
).
inflate
(
R
.
layout
.
native_item_video
,
parent
,
false
)
val
videoViewHolder
=
AdVideoViewHolder
(
convertView
)
val
videoViewHolder
=
AdVideoViewHolder
(
convertView
)
// 设置广告数据
// 设置广告数据
...
@@ -101,9 +102,9 @@ object KsPreLoadExpressManager {
...
@@ -101,9 +102,9 @@ object KsPreLoadExpressManager {
// SDK默认渲染的视频view
// SDK默认渲染的视频view
val
videoPlayConfig
=
KsAdVideoPlayConfig
.
Builder
()
val
videoPlayConfig
=
KsAdVideoPlayConfig
.
Builder
()
.
videoSoundEnable
(
true
)
// 有声播放
.
videoSoundEnable
(
true
)
// 有声播放
.
dataFlowAutoStart
(
false
)
// 流量下自动播放
.
dataFlowAutoStart
(
false
)
// 流量下自动播放
.
build
()
.
build
()
val
videoView
=
ksNativeAd
.
getVideoView
(
mContext
,
videoPlayConfig
)
val
videoView
=
ksNativeAd
.
getVideoView
(
mContext
,
videoPlayConfig
)
if
(
videoView
!=
null
&&
videoView
.
parent
==
null
)
{
if
(
videoView
!=
null
&&
videoView
.
parent
==
null
)
{
videoViewHolder
.
mAdVideoContainer
.
removeAllViews
()
videoViewHolder
.
mAdVideoContainer
.
removeAllViews
()
...
@@ -116,7 +117,8 @@ object KsPreLoadExpressManager {
...
@@ -116,7 +117,8 @@ object KsPreLoadExpressManager {
* 自定义的单图广告
* 自定义的单图广告
*/
*/
private
fun
getSingleImageItemView
(
parent
:
ViewGroup
,
ksNativeAd
:
KsNativeAd
):
View
?
{
private
fun
getSingleImageItemView
(
parent
:
ViewGroup
,
ksNativeAd
:
KsNativeAd
):
View
?
{
val
convertView
:
View
=
LayoutInflater
.
from
(
mContext
).
inflate
(
R
.
layout
.
native_item_single_image
,
parent
,
false
)
val
convertView
:
View
=
LayoutInflater
.
from
(
mContext
).
inflate
(
R
.
layout
.
native_item_single_image
,
parent
,
false
)
val
viewHolder
=
AdSingleImageViewHolder
(
convertView
)
val
viewHolder
=
AdSingleImageViewHolder
(
convertView
)
bindCommonData
(
convertView
as
ViewGroup
,
viewHolder
,
ksNativeAd
)
bindCommonData
(
convertView
as
ViewGroup
,
viewHolder
,
ksNativeAd
)
...
@@ -134,7 +136,8 @@ object KsPreLoadExpressManager {
...
@@ -134,7 +136,8 @@ object KsPreLoadExpressManager {
* 自定义的组图广告
* 自定义的组图广告
*/
*/
private
fun
getGroupImageItemView
(
parent
:
ViewGroup
,
ksNativeAd
:
KsNativeAd
):
View
?
{
private
fun
getGroupImageItemView
(
parent
:
ViewGroup
,
ksNativeAd
:
KsNativeAd
):
View
?
{
val
convertView
:
View
=
LayoutInflater
.
from
(
mContext
).
inflate
(
R
.
layout
.
native_item_group_image
,
parent
,
false
)
val
convertView
:
View
=
LayoutInflater
.
from
(
mContext
).
inflate
(
R
.
layout
.
native_item_group_image
,
parent
,
false
)
val
viewHolder
=
AdGroupImageViewHolder
(
convertView
)
val
viewHolder
=
AdGroupImageViewHolder
(
convertView
)
bindCommonData
(
convertView
as
ViewGroup
,
viewHolder
,
ksNativeAd
)
bindCommonData
(
convertView
as
ViewGroup
,
viewHolder
,
ksNativeAd
)
...
@@ -163,14 +166,17 @@ object KsPreLoadExpressManager {
...
@@ -163,14 +166,17 @@ object KsPreLoadExpressManager {
@SuppressLint
(
"DefaultLocale"
)
@SuppressLint
(
"DefaultLocale"
)
private
fun
getNormalItemView
(
parent
:
ViewGroup
):
View
?
{
private
fun
getNormalItemView
(
parent
:
ViewGroup
):
View
?
{
val
convertView
:
View
=
LayoutInflater
.
from
(
mContext
).
inflate
(
R
.
layout
.
native_item_normal
,
parent
,
false
)
val
convertView
:
View
=
LayoutInflater
.
from
(
mContext
).
inflate
(
R
.
layout
.
native_item_normal
,
parent
,
false
)
val
normalViewHolder
=
NormalViewHolder
(
convertView
)
val
normalViewHolder
=
NormalViewHolder
(
convertView
)
normalViewHolder
.
textView
.
text
=
"没有广告"
normalViewHolder
.
textView
.
text
=
"没有广告"
return
convertView
return
convertView
}
}
private
fun
bindCommonData
(
convertView
:
ViewGroup
,
adBaseViewHolder
:
AdBaseViewHolder
,
private
fun
bindCommonData
(
ad
:
KsNativeAd
)
{
convertView
:
ViewGroup
,
adBaseViewHolder
:
AdBaseViewHolder
,
ad
:
KsNativeAd
)
{
// 点击转换view的集合,传入的view点击时会触发转换操作:app下载, 打开h5页面
// 点击转换view的集合,传入的view点击时会触发转换操作:app下载, 打开h5页面
val
clickViewList
:
MutableList
<
View
>
=
ArrayList
()
val
clickViewList
:
MutableList
<
View
>
=
ArrayList
()
clickViewList
.
add
(
convertView
)
// 点击整个view都可触发转换
clickViewList
.
add
(
convertView
)
// 点击整个view都可触发转换
...
@@ -179,23 +185,19 @@ object KsPreLoadExpressManager {
...
@@ -179,23 +185,19 @@ object KsPreLoadExpressManager {
// 注册View的点击,点击后触发转化
// 注册View的点击,点击后触发转化
ad
.
registerViewForInteraction
(
convertView
,
clickViewList
,
ad
.
registerViewForInteraction
(
convertView
,
clickViewList
,
object
:
KsNativeAd
.
AdInteractionListener
{
object
:
KsNativeAd
.
AdInteractionListener
{
override
fun
onAdClicked
(
view
:
View
,
ad
:
KsNativeAd
)
{
override
fun
onAdClicked
(
view
:
View
,
ad
:
KsNativeAd
)
{
if
(
ad
!=
null
)
{
// Toast.makeText(MintsApplication.getContext(), "广告" + ad.appName + "被点击", Toast.LENGTH_SHORT).show()
// Toast.makeText(MintsApplication.getContext(), "广告" + ad.appName + "被点击", Toast.LENGTH_SHORT).show()
}
}
}
override
fun
onAdShow
(
ad
:
KsNativeAd
)
{
override
fun
onAdShow
(
ad
:
KsNativeAd
)
{
if
(
ad
!=
null
)
{
// Toast.makeText(mContext, "广告" + ad.appName + "展示", Toast.LENGTH_SHORT).show()
// Toast.makeText(mContext, "广告" + ad.appName + "展示", Toast.LENGTH_SHORT).show()
}
}
}
override
fun
handleDownloadDialog
(
p0
:
DialogInterface
.
OnClickListener
?):
Boolean
{
override
fun
handleDownloadDialog
(
p0
:
DialogInterface
.
OnClickListener
?):
Boolean
{
return
false
return
false
}
}
})
})
// 广告描述
// 广告描述
adBaseViewHolder
.
mAdDes
.
text
=
ad
.
adDescription
adBaseViewHolder
.
mAdDes
.
text
=
ad
.
adDescription
...
@@ -228,7 +230,8 @@ object KsPreLoadExpressManager {
...
@@ -228,7 +230,8 @@ object KsPreLoadExpressManager {
adBaseViewHolder
.
mAppIcon
.
visibility
=
View
.
GONE
adBaseViewHolder
.
mAppIcon
.
visibility
=
View
.
GONE
}
else
{
}
else
{
adBaseViewHolder
.
mAppIcon
.
visibility
=
View
.
VISIBLE
adBaseViewHolder
.
mAppIcon
.
visibility
=
View
.
VISIBLE
Glide
.
with
(
MintsApplication
.
getContext
()).
load
(
ad
.
appIconUrl
).
into
(
adBaseViewHolder
.
mAppIcon
)
Glide
.
with
(
MintsApplication
.
getContext
()).
load
(
ad
.
appIconUrl
)
.
into
(
adBaseViewHolder
.
mAppIcon
)
}
}
// app名称
// app名称
adBaseViewHolder
.
mAppName
.
text
=
ad
.
appName
adBaseViewHolder
.
mAppName
.
text
=
ad
.
appName
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ad/video/CsjVideoAdManager.java
View file @
663594f8
...
@@ -5,14 +5,15 @@ import android.app.Activity;
...
@@ -5,14 +5,15 @@ import android.app.Activity;
import
com.bytedance.sdk.openadsdk.AdSlot
;
import
com.bytedance.sdk.openadsdk.AdSlot
;
import
com.bytedance.sdk.openadsdk.TTAdConstant
;
import
com.bytedance.sdk.openadsdk.TTAdConstant
;
import
com.bytedance.sdk.openadsdk.TTAdNative
;
import
com.bytedance.sdk.openadsdk.TTAdNative
;
import
com.bytedance.sdk.openadsdk.TTAdSdk
;
import
com.bytedance.sdk.openadsdk.TTAppDownloadListener
;
import
com.bytedance.sdk.openadsdk.TTAppDownloadListener
;
import
com.bytedance.sdk.openadsdk.TTRewardVideoAd
;
import
com.bytedance.sdk.openadsdk.TTRewardVideoAd
;
import
com.mints.goodmoney.BuildConfig
;
import
com.mints.goodmoney.BuildConfig
;
import
com.mints.goodmoney.MintsApplication
;
import
com.mints.goodmoney.ad.video.base.BaseVideoAd
;
import
com.mints.goodmoney.ad.video.base.BaseVideoAd
;
import
com.mints.goodmoney.ad.video.base.VideoAdStatusListener
;
import
com.mints.goodmoney.ad.video.base.VideoAdStatusListener
;
import
com.mints.goodmoney.common.AppConfig
;
import
com.mints.goodmoney.common.AppConfig
;
import
com.mints.goodmoney.common.Constant
;
import
com.mints.goodmoney.common.Constant
;
import
com.mints.goodmoney.manager.TTNativeExpressManager
;
import
com.mints.goodmoney.manager.TrackManager
;
import
com.mints.goodmoney.manager.TrackManager
;
import
com.mints.goodmoney.manager.TtCsjAdManager
;
import
com.mints.goodmoney.manager.TtCsjAdManager
;
import
com.mints.goodmoney.manager.UserManager
;
import
com.mints.goodmoney.manager.UserManager
;
...
@@ -60,8 +61,7 @@ public class CsjVideoAdManager extends BaseVideoAd {
...
@@ -60,8 +61,7 @@ public class CsjVideoAdManager extends BaseVideoAd {
ps
=
new
AppPreferences
(
activity
);
ps
=
new
AppPreferences
(
activity
);
userManager
=
UserManager
.
getInstance
();
userManager
=
UserManager
.
getInstance
();
TTNativeExpressManager
ttNativeExpressManager
=
new
TTNativeExpressManager
();
ttAdNative
=
TTAdSdk
.
getAdManager
().
createAdNative
(
MintsApplication
.
getContext
());
ttAdNative
=
ttNativeExpressManager
.
initTTAd
(
false
);
}
}
@Override
@Override
...
@@ -79,8 +79,8 @@ public class CsjVideoAdManager extends BaseVideoAd {
...
@@ -79,8 +79,8 @@ public class CsjVideoAdManager extends BaseVideoAd {
* @param carrierType
* @param carrierType
*/
*/
@Override
@Override
public
void
loadAd
(
Activity
activity
,
int
curCoin
,
String
carrierType
,
String
extraId
)
{
public
void
loadAd
(
Activity
_
activity
,
int
curCoin
,
String
carrierType
,
String
extraId
)
{
this
.
activity
=
activity
;
this
.
activity
=
_
activity
;
isClickScreen
=
true
;
isClickScreen
=
true
;
this
.
curCoin
=
curCoin
;
this
.
curCoin
=
curCoin
;
this
.
extraId
=
extraId
;
this
.
extraId
=
extraId
;
...
@@ -137,9 +137,9 @@ public class CsjVideoAdManager extends BaseVideoAd {
...
@@ -137,9 +137,9 @@ public class CsjVideoAdManager extends BaseVideoAd {
AdSlot
adSlot
=
new
AdSlot
.
Builder
()
AdSlot
adSlot
=
new
AdSlot
.
Builder
()
.
setCodeId
(
codeId
)
.
setCodeId
(
codeId
)
.
setSupportDeepLink
(
true
)
.
setSupportDeepLink
(
true
)
// .setAdLoadType(TTAdLoadType.LOAD)
//个性化模板广告需要设置期望个性化模板广告的大小,单位dp,激励视频场景,只要设置的值大于0即可。仅模板广告需要设置此参数
//个性化模板广告需要设置期望个性化模板广告的大小,单位dp,激励视频场景,只要设置的值大于0即可。仅模板广告需要设置此参数
.
setExpressViewAcceptedSize
(
500
,
500
)
.
setExpressViewAcceptedSize
(
500
,
500
)
.
setImageAcceptedSize
(
1080
,
1920
)
.
setUserID
(
userID
)
//用户id,必传参数
.
setUserID
(
userID
)
//用户id,必传参数
.
setMediaExtra
(
JsonUtil
.
toJson
(
getAdMapVO
(
carrierType
,
tid
)))
.
setMediaExtra
(
JsonUtil
.
toJson
(
getAdMapVO
(
carrierType
,
tid
)))
.
setOrientation
(
TTAdConstant
.
VERTICAL
)
.
setOrientation
(
TTAdConstant
.
VERTICAL
)
...
@@ -160,9 +160,12 @@ public class CsjVideoAdManager extends BaseVideoAd {
...
@@ -160,9 +160,12 @@ public class CsjVideoAdManager extends BaseVideoAd {
//视频广告加载后,视频资源缓存到本地的回调,在此回调后,播放本地视频,流畅不阻塞。
//视频广告加载后,视频资源缓存到本地的回调,在此回调后,播放本地视频,流畅不阻塞。
@Override
@Override
public
void
onRewardVideoCached
()
{
public
void
onRewardVideoCached
()
{
}
@Override
public
void
onRewardVideoCached
(
TTRewardVideoAd
ttRewardVideoAd
)
{
if
(
mttRewardVideoAd
!=
null
)
{
if
(
mttRewardVideoAd
!=
null
)
{
mttRewardVideoAd
.
showRewardVideoAd
(
activity
);
mttRewardVideoAd
.
showRewardVideoAd
(
_activity
,
TTAdConstant
.
RitScenes
.
CUSTOMIZE_SCENES
,
"scenes_test"
);
mttRewardVideoAd
=
null
;
}
else
{
}
else
{
TrackManager
.
getInstance
().
addCallImp
(
Constant
.
AD_SOURCE_CSJ
,
Constant
.
EVENT_TYPE_ONE
,
"999999"
,
"Cached Fail"
);
TrackManager
.
getInstance
().
addCallImp
(
Constant
.
AD_SOURCE_CSJ
,
Constant
.
EVENT_TYPE_ONE
,
"999999"
,
"Cached Fail"
);
LogUtil
.
d
(
TAG
,
" onRewardVideoCached onError "
);
LogUtil
.
d
(
TAG
,
" onRewardVideoCached onError "
);
...
@@ -173,10 +176,6 @@ public class CsjVideoAdManager extends BaseVideoAd {
...
@@ -173,10 +176,6 @@ public class CsjVideoAdManager extends BaseVideoAd {
}
}
}
}
@Override
public
void
onRewardVideoCached
(
TTRewardVideoAd
ttRewardVideoAd
)
{
}
//视频广告的素材加载完毕,比如视频url等,在此回调后,可以播放在线视频,网络不好可能出现加载缓冲,影响体验。
//视频广告的素材加载完毕,比如视频url等,在此回调后,可以播放在线视频,网络不好可能出现加载缓冲,影响体验。
@Override
@Override
public
void
onRewardVideoAdLoad
(
TTRewardVideoAd
ad
)
{
public
void
onRewardVideoAdLoad
(
TTRewardVideoAd
ad
)
{
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ad/video/VideoAdingManager.java
View file @
663594f8
...
@@ -566,7 +566,6 @@ public class VideoAdingManager {
...
@@ -566,7 +566,6 @@ public class VideoAdingManager {
csjVideoAdManager
=
CsjVideoAdManager
.
getInstance
(
activity
);
csjVideoAdManager
=
CsjVideoAdManager
.
getInstance
(
activity
);
}
}
csjVideoAdManager
.
setVideoAdStatusListener
(
new
VideoAdStatusListener
()
{
csjVideoAdManager
.
setVideoAdStatusListener
(
new
VideoAdStatusListener
()
{
@Override
@Override
public
void
adFail
()
{
public
void
adFail
()
{
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/manager/TtCsjAdManager.java
View file @
663594f8
...
@@ -114,7 +114,6 @@ public class TtCsjAdManager {
...
@@ -114,7 +114,6 @@ public class TtCsjAdManager {
.
appName
(
TT_AD_NAME
)
.
appName
(
TT_AD_NAME
)
.
titleBarTheme
(
TTAdConstant
.
TITLE_BAR_THEME_DARK
)
.
titleBarTheme
(
TTAdConstant
.
TITLE_BAR_THEME_DARK
)
.
allowShowNotify
(
true
)
//是否允许sdk展示通知栏提示
.
allowShowNotify
(
true
)
//是否允许sdk展示通知栏提示
.
allowShowPageWhenScreenLock
(
false
)
//是否在锁屏场景支持展示广告落地页
.
debug
(
logFlag
)
//测试阶段打开,可以通过日志排查问题,上线时去除该调用
.
debug
(
logFlag
)
//测试阶段打开,可以通过日志排查问题,上线时去除该调用
.
directDownloadNetworkType
(
TTAdConstant
.
NETWORK_STATE_WIFI
,
TTAdConstant
.
NETWORK_STATE_4G
,
TTAdConstant
.
NETWORK_STATE_3G
)
//允许直接下载的网络状态集合
.
directDownloadNetworkType
(
TTAdConstant
.
NETWORK_STATE_WIFI
,
TTAdConstant
.
NETWORK_STATE_4G
,
TTAdConstant
.
NETWORK_STATE_3G
)
//允许直接下载的网络状态集合
.
supportMultiProcess
(
false
)
//是否支持多进程
.
supportMultiProcess
(
false
)
//是否支持多进程
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
View file @
663594f8
...
@@ -14,6 +14,7 @@ import android.widget.GridView
...
@@ -14,6 +14,7 @@ import android.widget.GridView
import
androidx.core.content.ContextCompat
import
androidx.core.content.ContextCompat
import
androidx.recyclerview.widget.DividerItemDecoration
import
androidx.recyclerview.widget.DividerItemDecoration
import
androidx.viewpager.widget.ViewPager
import
androidx.viewpager.widget.ViewPager
import
com.bytedance.tools.ui.ToolsActivity
import
com.component.dly.xzzq_ywsdk.YwSDK_WebActivity.Companion.open
import
com.component.dly.xzzq_ywsdk.YwSDK_WebActivity.Companion.open
import
com.fly.scenemodule.SceneUtil
import
com.fly.scenemodule.SceneUtil
import
com.mints.goodmoney.BuildConfig
import
com.mints.goodmoney.BuildConfig
...
@@ -1057,12 +1058,15 @@ class MyFragment : BaseFragment(),
...
@@ -1057,12 +1058,15 @@ class MyFragment : BaseFragment(),
jumpQQGroup
()
jumpQQGroup
()
}
}
R
.
id
.
item_title_id
->
{
R
.
id
.
item_title_id
->
{
if
(!
userManager
.
userIsLogin
())
{
// if (!userManager.userIsLogin()) {
readyGo
(
WxLoginActivity
::
class
.
java
)
// readyGo(WxLoginActivity::class.java)
}
// }
awardVideo
(
0
,
""
)
}
}
R
.
id
.
iv_right_icon
->
{
R
.
id
.
iv_right_icon
->
{
readyGo
(
SettingsActivity
::
class
.
java
)
// readyGo(SettingsActivity::class.java)
readyGo
(
ToolsActivity
::
class
.
java
)
}
}
R
.
id
.
btn_withdraw
->
{
R
.
id
.
btn_withdraw
->
{
if
(
userConfig
==
null
)
{
if
(
userConfig
==
null
)
{
...
...
GoodMoney/app/src/main/res/drawable-xhdpi/feed_live_ad_status_icon.png
0 → 100644
View file @
663594f8
579 Bytes
GoodMoney/app/src/main/res/drawable-xhdpi/feed_live_icon_red.png
0 → 100644
View file @
663594f8
152 Bytes
GoodMoney/app/src/main/res/drawable/btn_bg_creative.xml
0 → 100644
View file @
663594f8
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"rectangle"
>
<corners
android:radius=
"60dp"
/>
<stroke
android:color=
"#B22222"
android:width=
"1dp"
/>
</shape>
\ No newline at end of file
GoodMoney/app/src/main/res/drawable/circle_solid_main.xml
0 → 100644
View file @
663594f8
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:shape=
"oval"
>
<solid
android:color=
"#e0e0e0"
/>
</shape>
GoodMoney/app/src/main/res/drawable/demo_mute.png
0 → 100644
View file @
663594f8
600 Bytes
GoodMoney/app/src/main/res/layout/listitem_ad_download_btn_layout.xml
View file @
663594f8
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
android:layout_marginBottom=
"10dp"
android:layout_marginBottom=
"10dp"
android:layout_marginTop=
"10dp"
android:layout_marginTop=
"10dp"
android:gravity=
"center"
android:gravity=
"center"
android:visibility=
"gone"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<Button
<Button
...
@@ -16,7 +15,7 @@
...
@@ -16,7 +15,7 @@
android:layout_marginEnd=
"20dp"
android:layout_marginEnd=
"20dp"
android:layout_marginRight=
"20dp"
android:layout_marginRight=
"20dp"
android:background=
"@drawable/btn_bg_blue"
android:background=
"@drawable/btn_bg_blue"
android:textColor=
"#
3C93CD
"
android:textColor=
"#
EEB4B4
"
android:text=
"暂停下载"
android:text=
"暂停下载"
android:visibility=
"gone"
/>
android:visibility=
"gone"
/>
...
@@ -25,7 +24,7 @@
...
@@ -25,7 +24,7 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"30dp"
android:layout_height=
"30dp"
android:background=
"@drawable/btn_bg_red"
android:background=
"@drawable/btn_bg_red"
android:textColor=
"#
f85959
"
android:textColor=
"#
EEB4B4
"
android:text=
"删除下载"
android:text=
"删除下载"
android:visibility=
"gone"
/>
android:visibility=
"gone"
/>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
GoodMoney/app/src/main/res/layout/listitem_ad_group_pic.xml
View file @
663594f8
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<
com.bytedance.msdk.api.format.TTNativeAdView
xmlns:android=
"http://schemas.android.com/apk/res/android"
<
RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
android:layout_height=
"wrap_content"
tools:ignore=
"HardcodedText"
>
<!-- icon+广告源+关闭按钮 layout -->
<RelativeLayout
<include
android:id=
"@+id/icon_source_layout"
layout=
"@layout/listitem_ad_icon_source_layout"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"30dp"
tools:ignore=
"HardcodedText"
>
android:layout_marginLeft=
"10dp"
<!-- icon+广告源+关闭按钮 layout -->
android:layout_marginRight=
"10dp"
android:layout_marginTop=
"5dp"
<include
android:paddingEnd=
"10dp"
android:id=
"@+id/icon_source_layout"
android:paddingRight=
"10dp"
/>
layout=
"@layout/listitem_ad_icon_source_layout"
android:layout_width=
"match_parent"
android:layout_height=
"30dp"
android:layout_marginLeft=
"10dp"
android:layout_marginTop=
"5dp"
android:layout_marginRight=
"10dp"
android:paddingEnd=
"10dp"
android:paddingRight=
"10dp"
/>
<TextView
<TextView
android:id=
"@+id/tv_listitem_ad_desc"
android:id=
"@+id/tv_listitem_ad_desc"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/icon_source_layout"
android:layout_below=
"@+id/icon_source_layout"
android:layout_marginLeft=
"10dp"
android:layout_marginLeft=
"10dp"
android:layout_marginTop=
"5
dp"
android:layout_marginRight=
"10
dp"
android:layout_marginRight=
"10
dp"
android:layout_marginTop=
"5
dp"
android:ellipsize=
"end"
android:ellipsize=
"end"
android:lineSpacingMultiplier=
"1"
android:lineSpacingMultiplier=
"1"
android:maxLines=
"2"
android:maxLines=
"2"
android:singleLine=
"false"
android:singleLine=
"false"
android:text=
"劳力士服务中心,清洗保养,更换配件,9秒费用查询"
android:text=
"劳力士服务中心,清洗保养,更换配件,9秒费用查询"
android:textColor=
"@android:color/black"
android:textColor=
"@android:color/black"
android:textSize=
"18sp"
/>
android:textSize=
"18sp"
/>
<!-- -->
<LinearLayout
<LinearLayout
android:id=
"@+id/layout_image_group"
android:id=
"@+id/layout_image_group"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@id/tv_listitem_ad_desc"
android:layout_below=
"@id/tv_listitem_ad_desc"
android:layout_centerHorizontal=
"true"
android:layout_centerHorizontal=
"true"
android:layout_marginLeft=
"10dp"
android:layout_marginLeft=
"10dp"
android:layout_marginRight=
"10dp"
android:layout_marginRight=
"10dp"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<ImageView
<ImageView
android:id=
"@+id/iv_listitem_image1"
android:id=
"@+id/iv_listitem_image1"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"100dp"
android:layout_height=
"100dp"
android:layout_marginEnd=
"5dp"
android:layout_marginEnd=
"5dp"
android:layout_marginRight=
"5dp"
android:layout_marginRight=
"5dp"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:scaleType=
"centerCrop"
/>
android:scaleType=
"centerCrop"
/>
<ImageView
<ImageView
android:id=
"@+id/iv_listitem_image2"
android:id=
"@+id/iv_listitem_image2"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"100dp"
android:layout_height=
"100dp"
android:layout_marginEnd=
"5dp"
android:layout_marginEnd=
"5dp"
android:layout_marginRight=
"5dp"
android:layout_marginRight=
"5dp"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:scaleType=
"centerCrop"
/>
android:scaleType=
"centerCrop"
/>
<ImageView
<ImageView
android:id=
"@+id/iv_listitem_image3"
android:id=
"@+id/iv_listitem_image3"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"100dp"
android:layout_height=
"100dp"
android:layout_weight=
"1"
android:layout_weight=
"1"
android:scaleType=
"centerCrop"
/>
android:scaleType=
"centerCrop"
/>
</LinearLayout>
</LinearLayout>
<!-- title+creativeBtn layout -->
<!-- title+creativeBtn layout -->
<include
<include
android:id=
"@+id/ad_title_creative_btn_layout"
android:id=
"@+id/ad_title_creative_btn_layout"
layout=
"@layout/listitem_ad_title_creative_btn_layout"
layout=
"@layout/listitem_ad_title_creative_btn_layout"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"45dp"
android:layout_height=
"45dp"
android:layout_below=
"@+id/layout_image_group"
android:layout_below=
"@+id/layout_image_group"
android:layout_marginLeft=
"10dp"
android:layout_marginLeft=
"10dp"
android:layout_marginTop=
"4
dp"
android:layout_marginRight=
"10
dp"
android:layout_marginRight=
"10
dp"
/>
android:layout_marginTop=
"4
dp"
/>
<!--==== 测试下载状态控制功能 begin ========-->
<!--==== 测试下载状态控制功能 begin ========-->
<include
<include
layout=
"@layout/listitem_ad_download_btn_layout"
layout=
"@layout/listitem_ad_download_btn_layout"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/ad_title_creative_btn_layout"
android:layout_below=
"@+id/ad_title_creative_btn_layout"
android:layout_marginTop
=
"10dp"
android:layout_marginBottom
=
"10dp"
android:layout_marginBottom
=
"10dp"
android:layout_marginTop
=
"10dp"
android:gravity=
"center"
android:gravity=
"center"
android:orientation=
"horizontal"
/>
android:orientation=
"horizontal"
/>
<!--==== 测试下载状态控制功能 end ========-->
<!--==== 测试下载状态控制功能 end ========-->
</RelativeLayout>
</RelativeLayout>
</com.bytedance.msdk.api.format.TTNativeAdView>
\ No newline at end of file
\ No newline at end of file
GoodMoney/app/src/main/res/layout/listitem_ad_icon_source_layout.xml
View file @
663594f8
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
android:layout_centerVertical=
"true"
android:layout_centerVertical=
"true"
android:layout_marginEnd=
"10dp"
android:layout_marginEnd=
"10dp"
android:layout_marginRight=
"10dp"
android:layout_marginRight=
"10dp"
android:src=
"@drawable/
tt
_mute"
/>
android:src=
"@drawable/
demo
_mute"
/>
<TextView
<TextView
android:id=
"@+id/tv_listitem_ad_source"
android:id=
"@+id/tv_listitem_ad_source"
...
...
GoodMoney/app/src/main/res/layout/listitem_ad_large_pic.xml
View file @
663594f8
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<
com.bytedance.msdk.api.format.TTNativeAdView
xmlns:android=
"http://schemas.android.com/apk/res/android"
<
RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
android:layout_height=
"wrap_content"
tools:ignore=
"HardcodedText"
>
<RelativeLayout
<include
android:id=
"@+id/icon_source_layout"
layout=
"@layout/listitem_ad_icon_source_layout"
/>
<TextView
android:id=
"@+id/tv_listitem_ad_desc"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/icon_source_layout"
android:layout_marginBottom=
"3dp"
android:layout_marginLeft=
"10dp"
android:layout_marginRight=
"10dp"
android:layout_marginTop=
"3dp"
android:ellipsize=
"end"
android:lineSpacingMultiplier=
"1"
android:maxLines=
"2"
android:singleLine=
"false"
android:text=
"劳力士服务中心,清洗保养,更换配件,9秒费用查询"
android:textColor=
"@android:color/black"
android:textSize=
"18sp"
/>
<ImageView
android:id=
"@+id/iv_listitem_image"
android:layout_width=
"match_parent"
android:layout_height=
"200dp"
android:layout_below=
"@id/tv_listitem_ad_desc"
android:layout_marginLeft=
"10dp"
android:layout_marginRight=
"10dp"
android:scaleType=
"centerCrop"
/>
<ImageView
android:id=
"@+id/img_logo"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignBottom=
"@id/iv_listitem_image"
/>
<!-- title+creativeBtn layout -->
<include
android:id=
"@+id/ad_title_creative_btn_layout"
layout=
"@layout/listitem_ad_title_creative_btn_layout"
android:layout_width=
"match_parent"
android:layout_height=
"45dp"
android:layout_below=
"@+id/iv_listitem_image"
android:layout_marginLeft=
"10dp"
android:layout_marginRight=
"10dp"
/>
<!--==== 测试下载状态控制功能 begin ========-->
<include
layout=
"@layout/listitem_ad_download_btn_layout"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
tools:ignore=
"HardcodedText"
>
android:layout_below=
"@+id/ad_title_creative_btn_layout"
android:layout_marginBottom=
"10dp"
<include
android:layout_marginTop=
"10dp"
android:id=
"@+id/icon_source_layout"
android:gravity=
"center"
layout=
"@layout/listitem_ad_icon_source_layout"
/>
android:orientation=
"horizontal"
/>
<!--==== 测试下载状态控制功能 end ========-->
<TextView
android:id=
"@+id/tv_listitem_ad_desc"
</RelativeLayout>
android:layout_width=
"match_parent"
\ No newline at end of file
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/icon_source_layout"
android:layout_marginLeft=
"10dp"
android:layout_marginTop=
"3dp"
android:layout_marginRight=
"10dp"
android:layout_marginBottom=
"3dp"
android:ellipsize=
"end"
android:lineSpacingMultiplier=
"1"
android:maxLines=
"2"
android:singleLine=
"false"
android:text=
"劳力士服务中心,清洗保养,更换配件,9秒费用查询"
android:textColor=
"@android:color/black"
android:textSize=
"18sp"
/>
<ImageView
android:id=
"@+id/iv_listitem_image"
android:layout_width=
"match_parent"
android:layout_height=
"200dp"
android:layout_below=
"@id/tv_listitem_ad_desc"
android:layout_marginLeft=
"10dp"
android:layout_marginRight=
"10dp"
android:background=
"@drawable/tt_ad_cover_btn_begin_bg"
android:scaleType=
"centerCrop"
/>
<!-- title+creativeBtn layout -->
<include
android:id=
"@+id/ad_title_creative_btn_layout"
layout=
"@layout/listitem_ad_title_creative_btn_layout"
android:layout_width=
"match_parent"
android:layout_height=
"45dp"
android:layout_below=
"@+id/iv_listitem_image"
android:layout_marginLeft=
"10dp"
android:layout_marginRight=
"10dp"
/>
</RelativeLayout>
</com.bytedance.msdk.api.format.TTNativeAdView>
\ No newline at end of file
GoodMoney/app/src/main/res/layout/listitem_ad_large_video.xml
View file @
663594f8
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<
com.bytedance.msdk.api.format.TTNativeAdView
xmlns:android=
"http://schemas.android.com/apk/res/android"
<
RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
android:layout_height=
"wrap_content"
tools:ignore=
"HardcodedText"
>
<RelativeLayout
<include
android:id=
"@+id/icon_source_layout"
layout=
"@layout/listitem_ad_icon_source_layout"
/>
<TextView
android:id=
"@+id/tv_listitem_ad_desc"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/icon_source_layout"
android:layout_marginLeft=
"10dp"
android:layout_marginRight=
"10dp"
android:layout_marginTop=
"3dp"
android:layout_marginBottom=
"3dp"
android:singleLine=
"false"
android:text=
"劳力士服务中心,清洗保养,更换配件,9秒费用查询"
android:maxLines=
"2"
android:ellipsize=
"end"
android:lineSpacingMultiplier=
"1"
android:textColor=
"@android:color/black"
android:textSize=
"18sp"
/>
<FrameLayout
android:id=
"@+id/iv_listitem_video"
android:layout_width=
"match_parent"
android:layout_height=
"200dp"
android:layout_below=
"@id/tv_listitem_ad_desc"
android:layout_marginLeft=
"10dp"
android:layout_marginRight=
"10dp"
android:scaleType=
"centerCrop"
/>
<ImageView
android:id=
"@+id/img_logo"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignBottom=
"@id/iv_listitem_video"
/>
<!-- title+creativeBtn layout -->
<include
android:id=
"@+id/ad_title_creative_btn_layout"
layout=
"@layout/listitem_ad_title_creative_btn_layout"
android:layout_width=
"match_parent"
android:layout_height=
"45dp"
android:layout_below=
"@+id/iv_listitem_video"
android:layout_marginLeft=
"10dp"
android:layout_marginRight=
"10dp"
/>
<!--==== 测试下载状态控制功能 begin ========-->
<include
layout=
"@layout/listitem_ad_download_btn_layout"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
tools:ignore=
"HardcodedText"
>
android:layout_below=
"@+id/ad_title_creative_btn_layout"
android:layout_marginBottom=
"10dp"
<include
android:layout_marginTop=
"10dp"
android:id=
"@+id/icon_source_layout"
android:gravity=
"center"
layout=
"@layout/listitem_ad_icon_source_layout"
/>
android:orientation=
"horizontal"
/>
<!--==== 测试下载状态控制功能 end ========-->
<TextView
</RelativeLayout>
android:id=
"@+id/tv_listitem_ad_desc"
\ No newline at end of file
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_below=
"@+id/icon_source_layout"
android:layout_marginLeft=
"10dp"
android:layout_marginTop=
"3dp"
android:layout_marginRight=
"10dp"
android:layout_marginBottom=
"3dp"
android:ellipsize=
"end"
android:lineSpacingMultiplier=
"1"
android:maxLines=
"2"
android:singleLine=
"false"
android:text=
"劳力士服务中心,清洗保养,更换配件,9秒费用查询"
android:textColor=
"@android:color/black"
android:textSize=
"18sp"
/>
<com.bytedance.msdk.api.format.TTMediaView
android:id=
"@+id/iv_listitem_video"
android:layout_width=
"match_parent"
android:layout_height=
"200dp"
android:layout_below=
"@id/tv_listitem_ad_desc"
android:layout_marginLeft=
"10dp"
android:layout_marginRight=
"10dp"
android:background=
"@android:color/background_dark"
android:scaleType=
"centerCrop"
/>
<!-- title+creativeBtn layout -->
<include
android:id=
"@+id/ad_title_creative_btn_layout"
layout=
"@layout/listitem_ad_title_creative_btn_layout"
android:layout_width=
"match_parent"
android:layout_height=
"45dp"
android:layout_below=
"@+id/iv_listitem_video"
android:layout_marginLeft=
"10dp"
android:layout_marginRight=
"10dp"
/>
</RelativeLayout>
</com.bytedance.msdk.api.format.TTNativeAdView>
\ No newline at end of file
GoodMoney/app/src/main/res/layout/listitem_ad_native_express.xml
View file @
663594f8
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<com.bytedance.msdk.api.format.TTNativeAdView
xmlns:android=
"http://schemas.android.com/apk/res/android"
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
android:layout_height=
"wrap_content"
tools:ignore=
"HardcodedText"
>
<FrameLayout
<FrameLayout
android:id=
"@+id/iv_listitem_express"
android:id=
"@+id/iv_listitem_express"
android:layout_width=
"
match_par
ent"
android:layout_width=
"
wrap_cont
ent"
android:layout_height=
"
match_par
ent"
android:layout_height=
"
wrap_cont
ent"
android:layout_
gravity=
"center
"
/>
android:layout_
centerInParent=
"true
"
/>
</com.bytedance.msdk.api.format.TTNativeAdView>
</RelativeLayout>
\ No newline at end of file
\ No newline at end of file
GoodMoney/app/src/main/res/layout/listitem_ad_small_pic.xml
View file @
663594f8
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<
Fram
eLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<
Relativ
eLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
android:layout_height=
"wrap_content"
tools:ignore=
"HardcodedText"
>
<RelativeLayout
<RelativeLayout
android:id=
"@+id/ad_contentPanel"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"85dp"
tools:ignore=
"HardcodedText"
>
android:layout_marginLeft=
"10dp"
android:layout_marginRight=
"10dp"
<RelativeLayout
android:layout_marginTop=
"10dp"
>
android:id=
"@+id/ad_contentPanel"
android:layout_width=
"match_parent"
android:layout_height=
"85dp"
android:layout_marginLeft=
"10dp"
android:layout_marginTop=
"10dp"
android:layout_marginRight=
"10dp"
>
<ImageView
android:id=
"@+id/iv_listitem_image"
android:layout_width=
"100dp"
android:layout_height=
"match_parent"
android:layout_alignParentEnd=
"true"
android:layout_alignParentRight=
"true"
android:scaleType=
"centerCrop"
android:src=
"@drawable/tt_ad_cover_btn_begin_bg"
/>
<ImageView
<LinearLayout
android:id=
"@+id/iv_listitem_image"
android:layout_width=
"match_parent"
android:layout_width=
"100dp"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:layout_centerVertical=
"true"
android:layout_alignParentEnd=
"true"
android:layout_toLeftOf=
"@+id/iv_listitem_image"
android:layout_alignParentRight=
"true"
android:layout_toStartOf=
"@+id/iv_listitem_image"
android:background=
"@drawable/tt_ad_cover_btn_begin_bg"
android:orientation=
"vertical"
>
android:scaleType=
"centerCrop"
/>
<TextView
android:id=
"@+id/tv_listitem_ad_desc"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:ellipsize=
"end"
android:lineSpacingMultiplier=
"1.1"
android:maxLines=
"2"
android:text=
"80后的回忆!经典三国完美复刻,安卓用户的福利"
android:textColor=
"@android:color/black"
android:textSize=
"18sp"
/>
<
Linear
Layout
<
Relative
Layout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"30dp"
android:layout_centerVertical=
"true"
android:layout_marginTop=
"3dp"
android:layout_toStartOf=
"@+id/iv_listitem_image"
android:paddingEnd=
"10dp"
android:layout_toLeftOf=
"@+id/iv_listitem_image"
android:paddingRight=
"10dp"
>
android:orientation=
"vertical"
>
<ImageView
android:id=
"@+id/iv_listitem_icon"
android:layout_width=
"30dp"
android:layout_height=
"match_parent"
android:layout_alignParentLeft=
"true"
android:layout_alignParentStart=
"true"
android:layout_centerVertical=
"true"
android:layout_marginEnd=
"10dp"
android:layout_marginRight=
"10dp"
android:src=
"@drawable/demo_mute"
/>
<TextView
<TextView
android:id=
"@+id/tv_listitem_ad_
desc
"
android:id=
"@+id/tv_listitem_ad_
source
"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_centerVertical=
"true"
android:layout_toEndOf=
"@+id/iv_listitem_icon"
android:layout_toLeftOf=
"@+id/iv_listitem_dislike"
android:layout_toRightOf=
"@+id/iv_listitem_icon"
android:layout_toStartOf=
"@+id/iv_listitem_dislike"
android:ellipsize=
"end"
android:ellipsize=
"end"
android:lineSpacingMultiplier=
"1.1"
android:gravity=
"center_vertical"
android:maxLines=
"2"
android:singleLine=
"true"
android:text=
"80后的回忆!经典三国完美复刻,安卓用户的福利"
android:text=
"着陆无双"
android:textColor=
"@android:color/black"
android:textColor=
"#70000000"
android:textSize=
"18sp"
/>
android:textSize=
"16sp"
/>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"30dp"
android:layout_marginTop=
"3dp"
android:paddingEnd=
"10dp"
android:paddingRight=
"10dp"
>
<ImageView
<ImageView
android:id=
"@+id/iv_listitem_icon"
android:id=
"@+id/iv_listitem_dislike"
android:layout_width=
"30dp"
android:layout_width=
"20dp"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:layout_alignParentStart=
"true"
android:layout_alignParentEnd=
"true"
android:layout_alignParentLeft=
"true"
android:layout_alignParentRight=
"true"
android:layout_centerVertical=
"true"
android:layout_gravity=
"center_vertical"
android:layout_marginEnd=
"10dp"
android:layout_marginLeft=
"10dp"
android:layout_marginRight=
"10dp"
android:layout_marginStart=
"10dp"
android:src=
"@drawable/tt_mute"
/>
android:clickable=
"true"
android:focusable=
"true"
android:src=
"@drawable/tt_dislike"
/>
</RelativeLayout>
<TextView
</LinearLayout>
android:id=
"@+id/tv_listitem_ad_source"
</RelativeLayout>
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_centerVertical=
"true"
android:layout_toStartOf=
"@+id/iv_listitem_dislike"
android:layout_toLeftOf=
"@+id/iv_listitem_dislike"
android:layout_toEndOf=
"@+id/iv_listitem_icon"
android:layout_toRightOf=
"@+id/iv_listitem_icon"
android:ellipsize=
"end"
android:gravity=
"center_vertical"
android:singleLine=
"true"
android:text=
"着陆无双"
android:textColor=
"#70000000"
android:textSize=
"16sp"
/>
<ImageView
<!-- title+creativeBtn layout -->
android:id=
"@+id/iv_listitem_dislike"
<include
android:layout_width=
"20dp"
android:id=
"@+id/ad_title_creative_btn_layout"
android:layout_height=
"match_parent"
layout=
"@layout/listitem_ad_title_creative_btn_layout"
android:layout_alignParentEnd=
"true"
android:layout_width=
"match_parent"
android:layout_alignParentRight=
"true"
android:layout_height=
"45dp"
android:layout_gravity=
"center_vertical"
android:layout_below=
"@+id/ad_contentPanel"
android:layout_marginStart=
"10dp"
android:layout_marginLeft=
"10dp"
android:layout_marginLeft=
"10dp"
android:layout_marginRight=
"10dp"
/>
android:clickable=
"true"
android:focusable=
"true"
/>
</RelativeLayout>
</LinearLayout>
</RelativeLayout>
<!-- title+creativeBtn layout -->
<!--==== 测试下载状态控制功能 begin ========-->
<include
<include
android:id=
"@+id/ad_title_creative_btn_layout"
layout=
"@layout/listitem_ad_download_btn_layout"
layout=
"@layout/listitem_ad_title_creative_btn_layout"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"45dp"
android:layout_below=
"@+id/ad_title_creative_btn_layout"
android:layout_below=
"@+id/ad_contentPanel"
android:layout_marginBottom=
"10dp"
android:layout_marginLeft=
"10dp"
android:layout_marginTop=
"10dp"
android:layout_marginRight=
"10dp"
/>
android:gravity=
"center"
android:orientation=
"horizontal"
/>
<!--==== 测试下载状态控制功能 end ========-->
</RelativeLayout>
</RelativeLayout>
</FrameLayout>
\ No newline at end of file
\ No newline at end of file
GoodMoney/app/src/main/res/layout/listitem_ad_title_creative_btn_layout.xml
View file @
663594f8
...
@@ -5,16 +5,10 @@
...
@@ -5,16 +5,10 @@
android:layout_height=
"45dp"
android:layout_height=
"45dp"
android:layout_below=
"@+id/iv_listitem_image"
android:layout_below=
"@+id/iv_listitem_image"
android:layout_marginBottom=
"2dp"
android:layout_marginBottom=
"2dp"
android:layout_marginLeft=
"10dp"
android:layout_marginRight=
"10dp"
android:background=
"#F4F5F7"
>
android:background=
"#F4F5F7"
>
<RelativeLayout
android:id=
"@+id/tt_ad_logo"
android:layout_width=
"15dp"
android:layout_height=
"15dp"
android:layout_centerVertical=
"true"
android:gravity=
"center_vertical"
android:visibility=
"gone"
/>
<TextView
<TextView
android:id=
"@+id/tv_listitem_ad_title"
android:id=
"@+id/tv_listitem_ad_title"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -22,6 +16,7 @@
...
@@ -22,6 +16,7 @@
android:layout_alignParentLeft=
"true"
android:layout_alignParentLeft=
"true"
android:layout_alignParentStart=
"true"
android:layout_alignParentStart=
"true"
android:layout_centerVertical=
"true"
android:layout_centerVertical=
"true"
android:layout_marginLeft=
"5dp"
android:layout_toLeftOf=
"@+id/btn_listitem_creative"
android:layout_toLeftOf=
"@+id/btn_listitem_creative"
android:layout_toStartOf=
"@+id/btn_listitem_creative"
android:layout_toStartOf=
"@+id/btn_listitem_creative"
android:gravity=
"center_vertical"
android:gravity=
"center_vertical"
...
@@ -38,12 +33,10 @@
...
@@ -38,12 +33,10 @@
android:layout_alignParentRight=
"true"
android:layout_alignParentRight=
"true"
android:layout_centerVertical=
"true"
android:layout_centerVertical=
"true"
android:layout_marginEnd=
"8dp"
android:layout_marginEnd=
"8dp"
android:layout_marginLeft=
"3dp"
android:layout_marginRight=
"8dp"
android:layout_marginRight=
"8dp"
android:layout_marginStart=
"3dp"
android:background=
"@drawable/btn_bg_creative"
android:background=
"@drawable/shape_jd_selected"
android:gravity=
"center"
android:gravity=
"center"
android:text=
"立即下载"
android:text=
"立即下载"
android:textColor=
"
@color/black
"
android:textColor=
"
#B22222
"
android:textSize=
"14sp"
/>
android:textSize=
"14sp"
/>
</RelativeLayout>
</RelativeLayout>
\ No newline at end of file
GoodMoney/app/src/main/res/layout/listitem_ad_vertical_live.xml
0 → 100644
View file @
663594f8
<?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:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
tools:ignore=
"HardcodedText"
>
<TextView
android:id=
"@+id/feed_live_feed_desc"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"16dp"
android:layout_marginTop=
"14dp"
android:layout_marginRight=
"16dp"
android:layout_marginBottom=
"8dp"
android:ellipsize=
"end"
android:lineSpacingMultiplier=
"1"
android:maxLines=
"2"
android:singleLine=
"false"
android:textColor=
"#222222"
android:textSize=
"17sp"
tools:text=
"劳力士服务中心,清洗保养,更换配件,9秒费用查询"
/>
<FrameLayout
android:id=
"@+id/feed_live_feed_video"
android:layout_width=
"match_parent"
android:layout_height=
"200dp"
android:layout_below=
"@id/feed_live_feed_desc"
android:layout_marginLeft=
"16dp"
android:layout_marginRight=
"16dp"
android:scaleType=
"centerCrop"
/>
<ImageView
android:id=
"@+id/feed_live_feed_icon"
android:layout_width=
"45dp"
android:layout_height=
"16dp"
android:layout_alignLeft=
"@id/feed_live_feed_video"
android:layout_alignTop=
"@id/feed_live_feed_video"
android:layout_marginLeft=
"8dp"
android:layout_marginTop=
"8dp"
android:background=
"@drawable/feed_live_ad_status_icon"
/>
<RelativeLayout
android:id=
"@+id/feed_live_feed_layout"
android:layout_width=
"match_parent"
android:layout_height=
"58dp"
android:layout_below=
"@id/feed_live_feed_video"
android:layout_marginLeft=
"16dp"
android:layout_marginRight=
"16dp"
android:background=
"#F8F8F8"
android:gravity=
"center_vertical"
>
<ImageView
android:id=
"@+id/feed_live_feed_avatar"
android:layout_width=
"38dp"
android:layout_height=
"38dp"
android:layout_centerVertical=
"true"
android:layout_marginLeft=
"10dp"
>
</ImageView>
<TextView
android:id=
"@+id/feed_live_feed_title"
android:layout_width=
"150dp"
android:layout_height=
"wrap_content"
android:layout_alignTop=
"@id/feed_live_feed_avatar"
android:layout_marginLeft=
"9dp"
android:layout_toRightOf=
"@id/feed_live_feed_avatar"
android:ellipsize=
"end"
android:singleLine=
"true"
android:textColor=
"#161823"
android:textSize=
"14sp"
tools:text=
"罗永浩交个朋友直播间"
/>
<TextView
android:id=
"@+id/feed_live_feed_fans"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@id/feed_live_feed_title"
android:layout_alignLeft=
"@id/feed_live_feed_title"
android:layout_marginTop=
"2dp"
android:layout_toRightOf=
"@id/feed_live_feed_avatar"
android:gravity=
"center"
android:textColor=
"#80161823"
android:textSize=
"12sp"
tools:text=
"吊儿郎当"
/>
<ImageView
android:id=
"@+id/feed_live_ad_img"
android:layout_width=
"1dp"
android:layout_height=
"12dp"
android:layout_below=
"@id/feed_live_feed_title"
android:layout_alignTop=
"@id/feed_live_feed_fans"
android:layout_centerVertical=
"true"
android:layout_marginLeft=
"8dp"
android:layout_toRightOf=
"@id/feed_live_feed_fans"
android:background=
"#80161823"
/>
<TextView
android:id=
"@+id/feed_live_feed_watch"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@id/feed_live_feed_title"
android:layout_centerVertical=
"true"
android:layout_marginLeft=
"8dp"
android:layout_marginTop=
"2dp"
android:layout_toRightOf=
"@id/feed_live_ad_img"
android:gravity=
"center"
android:textColor=
"#80161823"
android:textSize=
"12sp"
tools:text=
"吊儿郎当发发发"
/>
<Button
android:id=
"@+id/feed_live_btn"
android:layout_width=
"wrap_content"
android:layout_height=
"16dp"
android:layout_alignParentRight=
"true"
android:layout_centerVertical=
"true"
android:layout_marginRight=
"12dp"
android:gravity=
"center"
android:text=
"@string/live_feed_btn"
android:textColor=
"#F04142"
android:background=
"@null"
android:textSize=
"12sp"
/>
<ImageView
android:layout_width=
"12dp"
android:layout_height=
"12dp"
android:layout_centerVertical=
"true"
android:layout_marginRight=
"4dp"
android:layout_toLeftOf=
"@id/feed_live_btn"
android:background=
"@drawable/feed_live_icon_red"
/>
</RelativeLayout>
<ImageView
android:id=
"@+id/feed_live_feed_logo"
android:layout_width=
"36dp"
android:layout_height=
"14dp"
android:layout_below=
"@id/feed_live_feed_layout"
android:layout_marginLeft=
"16dp"
android:layout_marginTop=
"12dp"
/>
<TextView
android:id=
"@+id/feed_live_feed_logo_desc"
android:layout_width=
"wrap_content"
android:layout_height=
"12dp"
android:layout_below=
"@id/feed_live_feed_layout"
android:layout_marginLeft=
"4dp"
android:layout_marginTop=
"12dp"
android:layout_toRightOf=
"@id/feed_live_feed_logo"
android:text=
"穿山甲联盟"
android:textColor=
"#57161823"
android:textSize=
"10sp"
/>
<ImageView
android:id=
"@+id/feed_live_feed_close"
android:layout_width=
"12dp"
android:layout_height=
"12dp"
android:layout_below=
"@id/feed_live_feed_layout"
android:layout_alignParentRight=
"true"
android:layout_marginTop=
"12dp"
android:layout_marginRight=
"16dp"
android:background=
"@drawable/tt_dislike"
/>
</RelativeLayout>
\ No newline at end of file
GoodMoney/app/src/main/res/layout/listitem_ad_vertical_pic.xml
View file @
663594f8
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<
com.bytedance.msdk.api.format.TTNativeAdView
xmlns:android=
"http://schemas.android.com/apk/res/android"
<
RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
android:layout_height=
"wrap_content"
tools:ignore=
"HardcodedText"
>
<RelativeLayout
<ImageView
android:id=
"@+id/iv_listitem_image"
android:layout_width=
"135dp"
android:layout_height=
"240dp"
android:layout_centerHorizontal=
"true"
android:layout_marginEnd=
"10dp"
android:layout_marginRight=
"10dp"
android:scaleType=
"centerCrop"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
tools:ignore=
"HardcodedText"
>
android:layout_below=
"@+id/iv_listitem_image"
android:gravity=
"center_horizontal"
<ImageView
android:orientation=
"vertical"
>
android:id=
"@+id/iv_listitem_image"
android:layout_width=
"135dp"
android:layout_height=
"240dp"
android:layout_centerHorizontal=
"true"
android:layout_marginEnd=
"10dp"
android:layout_marginRight=
"10dp"
android:scaleType=
"centerCrop"
/>
<TextView
android:id=
"@+id/tv_listitem_ad_title"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_margin=
"10dp"
android:gravity=
"center"
android:singleLine=
"false"
android:textSize=
"14sp"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:
layout_below=
"@+id/iv_listitem_image
"
android:
orientation=
"vertical
"
android:gravity=
"center_horizontal"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
>
>
<RelativeLayout
android:layout_width=
"match_parent"
android:gravity=
"center_horizontal"
android:layout_height=
"wrap_content"
>
<TextView
<ImageView
android:id=
"@+id/tv_listitem_ad_title"
android:id=
"@+id/iv_listitem_icon"
android:layout_width=
"match_parent"
android:layout_width=
"30dp"
android:layout_height=
"wrap_content"
android:layout_height=
"40dp"
android:layout_margin=
"10dp"
android:layout_centerVertical=
"true"
android:gravity=
"center"
android:layout_marginStart=
"10dp"
android:singleLine=
"false"
android:layout_marginLeft=
"10dp"
/>
android:textSize=
"14sp"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:id=
"@+id/tv_source_desc_layout"
android:layout_width=
"100dp"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:gravity=
"center_horizontal"
android:layout_below=
"@id/layout_image_group"
android:layout_centerVertical=
"true"
android:layout_marginStart=
"5dp"
android:layout_marginLeft=
"5dp"
android:layout_toEndOf=
"@id/iv_listitem_icon"
android:layout_toRightOf=
"@id/iv_listitem_icon"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<RelativeLayout
<TextView
android:layout_width=
"match_parent"
android:id=
"@+id/tv_listitem_ad_desc"
android:layout_width=
"80dp"
android:layout_height=
"20dp"
android:ellipsize=
"end"
android:singleLine=
"true"
android:textSize=
"10sp"
/>
<TextView
android:id=
"@+id/tv_listitem_ad_source"
android:layout_width=
"100dp"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:gravity=
"center_horizontal"
>
android:layout_marginStart=
"10dp"
android:layout_marginLeft=
"10dp"
<ImageView
android:layout_marginBottom=
"10dp"
android:id=
"@+id/iv_listitem_icon"
android:ellipsize=
"end"
android:layout_width=
"30dp"
android:singleLine=
"true"
android:layout_height=
"40dp"
android:textSize=
"8sp"
/>
android:layout_centerVertical=
"true"
android:layout_marginStart=
"10dp"
android:layout_marginLeft=
"10dp"
/>
<LinearLayout
android:id=
"@+id/tv_source_desc_layout"
android:layout_width=
"100dp"
android:layout_height=
"wrap_content"
android:layout_below=
"@id/layout_image_group"
android:layout_centerVertical=
"true"
android:layout_marginStart=
"5dp"
android:layout_marginLeft=
"5dp"
android:layout_toEndOf=
"@id/iv_listitem_icon"
android:layout_toRightOf=
"@id/iv_listitem_icon"
android:orientation=
"vertical"
tools:ignore=
"NotSibling"
>
<TextView
android:id=
"@+id/tv_listitem_ad_desc"
android:layout_width=
"80dp"
android:layout_height=
"20dp"
android:ellipsize=
"end"
android:singleLine=
"true"
android:textSize=
"10sp"
/>
<TextView
android:id=
"@+id/tv_listitem_ad_source"
android:layout_width=
"100dp"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"10dp"
android:layout_marginLeft=
"10dp"
android:layout_marginBottom=
"10dp"
android:ellipsize=
"end"
android:singleLine=
"true"
android:textSize=
"8sp"
/>
</LinearLayout>
</RelativeLayout>
<Button
android:id=
"@+id/btn_listitem_creative"
android:layout_width=
"135dp"
android:layout_height=
"40dp"
android:textSize=
"9sp"
/>
</LinearLayout>
</LinearLayout>
</RelativeLayout>
<Button
android:id=
"@+id/btn_listitem_creative"
android:layout_width=
"135dp"
android:layout_height=
"40dp"
android:textSize=
"9sp"
/>
</LinearLayout>
</LinearLayout>
<!--==== 测试下载状态控制功能 begin ========-->
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:gravity=
"center"
android:orientation=
"vertical"
>
<ImageView
<Button
android:id=
"@+id/iv_listitem_dislike"
android:id=
"@+id/btn_listitem_stop"
android:layout_width=
"20dp"
android:layout_width=
"135dp"
android:layout_height=
"20dp"
android:layout_height=
"40dp"
android:layout_alignParentTop=
"true"
android:text=
"暂停"
android:layout_alignParentRight=
"true"
android:textSize=
"9sp"
android:layout_marginTop=
"10dp"
android:visibility=
"gone"
/>
android:layout_marginRight=
"10dp"
android:clickable=
"true"
<Button
android:src=
"@mipmap/dislike_icon"
/>
android:id=
"@+id/btn_listitem_remove"
android:layout_width=
"135dp"
</RelativeLayout>
android:layout_height=
"40dp"
android:text=
"删除"
</com.bytedance.msdk.api.format.TTNativeAdView>
android:textSize=
"9sp"
\ No newline at end of file
android:visibility=
"gone"
/>
</LinearLayout>
<!--==== 测试下载状态控制功能 end ========-->
</LinearLayout>
<ImageView
android:id=
"@+id/iv_listitem_dislike"
android:layout_width=
"20dp"
android:layout_height=
"20dp"
android:layout_alignParentTop=
"true"
android:layout_alignParentRight=
"true"
android:layout_marginTop=
"10dp"
android:layout_marginRight=
"10dp"
android:clickable=
"true"
android:src=
"@drawable/tt_dislike"
/>
</RelativeLayout>
\ No newline at end of file
GoodMoney/app/src/main/res/layout/listitem_normal.xml
0 → 100644
View file @
663594f8
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
xmlns:tools=
"http://schemas.android.com/tools"
tools:ignore=
"HardcodedText"
android:layout_height=
"40dp"
>
<TextView
android:id=
"@+id/text_idle"
android:layout_width=
"150dp"
android:layout_height=
"match_parent"
android:layout_centerHorizontal=
"true"
android:gravity=
"center"
android:text=
"普通的view"
/>
</RelativeLayout>
\ No newline at end of file
GoodMoney/app/src/main/res/layout/native_ad.xml
0 → 100644
View file @
663594f8
<?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:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
>
<TextView
android:id=
"@+id/tv_native_ad_title"
android:layout_width=
"200dp"
android:layout_height=
"wrap_content"
android:layout_margin=
"10dp"
android:singleLine=
"true"
android:textSize=
"14sp"
/>
<ImageView
android:id=
"@+id/iv_native_image"
android:layout_width=
"match_parent"
android:layout_height=
"200dp"
android:layout_below=
"@id/tv_native_ad_title"
android:layout_marginBottom=
"5dp"
android:layout_marginLeft=
"10dp"
android:layout_marginRight=
"10dp"
android:scaleType=
"centerCrop"
/>
<ImageView
android:id=
"@+id/iv_native_icon"
android:layout_width=
"15dp"
android:layout_height=
"15dp"
android:layout_below=
"@id/iv_native_image"
android:layout_marginLeft=
"3dp"
android:layout_marginStart=
"3dp"
/>
<LinearLayout
android:id=
"@+id/tv_source_desc_layout"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
android:layout_below=
"@id/iv_native_image"
android:layout_toRightOf=
"@id/iv_native_icon"
android:layout_toEndOf=
"@id/iv_native_icon"
tools:ignore=
"UseCompoundDrawables"
>
<TextView
android:id=
"@+id/tv_native_ad_desc"
android:layout_width=
"100dp"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"10dp"
android:layout_marginLeft=
"5dp"
android:layout_marginStart=
"5dp"
android:layout_marginTop=
"15dp"
android:ellipsize=
"end"
android:singleLine=
"true"
android:textSize=
"14sp"
/>
<ImageView
android:id=
"@+id/img_native_dislike"
android:layout_width=
"20dp"
android:layout_height=
"20dp"
android:background=
"@drawable/tt_dislike"
/>
<ImageView
android:id=
"@+id/iv_native_ad_logo"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"bottom|right"
/>
</LinearLayout>
<Button
android:id=
"@+id/btn_native_creative"
android:layout_width=
"90dp"
android:layout_height=
"40dp"
android:layout_alignParentEnd=
"true"
android:layout_alignParentRight=
"true"
android:layout_marginRight=
"14dp"
android:layout_marginEnd=
"14dp"
android:layout_alignTop=
"@+id/tv_source_desc_layout"
android:textSize=
"10sp"
/>
</RelativeLayout>
\ No newline at end of file
GoodMoney/app/src/main/res/layout/native_draw_action_item.xml
0 → 100644
View file @
663594f8
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"300dp"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
android:layout_marginLeft=
"55dp"
android:layout_marginTop=
"20dp"
android:layout_marginRight=
"10dp"
android:background=
"#FFFFFF"
>
<TextView
android:id=
"@+id/tv_title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:singleLine=
"true"
android:layout_marginLeft=
"5dp"
android:maxLines=
"1"
android:text=
"title"
android:textColor=
"#000000"
android:textSize=
"18sp"
/>
<TextView
android:id=
"@+id/tv_desc"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10dp"
android:layout_marginLeft=
"5dp"
android:maxLines=
"2"
android:textColor=
"#000000"
android:textSize=
"10sp"
android:text=
"desc"
/>
<Button
android:id=
"@+id/button_creative"
android:layout_width=
"200dp"
android:layout_marginTop=
"20dp"
android:layout_height=
"35dp"
android:layout_marginBottom=
"10dp"
android:layout_gravity=
"center_horizontal"
android:textColor=
"@android:color/white"
android:background=
"#B22222"
android:text=
"立即下载"
/>
</LinearLayout>
GoodMoney/app/src/main/res/layout/native_insert_ad_layout.xml
0 → 100644
View file @
663594f8
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:id=
"@+id/native_insert_ad_root"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
tools:ignore=
"MergeRootFrame"
>
<ImageView
android:id=
"@+id/native_insert_ad_img"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:scaleType=
"fitXY"
android:layout_marginTop=
"32dp"
/>
<ImageView
android:id=
"@+id/native_insert_close_icon_img"
android:layout_width=
"20dp"
android:layout_height=
"20dp"
android:layout_gravity=
"end|top"
android:scaleType=
"fitXY"
android:layout_marginTop=
"10dp"
android:background=
"@drawable/tt_dislike"
/>
<ImageView
android:id=
"@+id/native_insert_ad_logo"
android:layout_width=
"36dp"
android:layout_height=
"14dp"
android:layout_gravity=
"start|bottom"
android:layout_marginBottom=
"40dp"
android:layout_marginLeft=
"10dp"
android:layout_marginStart=
"10dp"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"start|bottom"
android:layout_marginStart=
"10dp"
android:layout_marginLeft=
"10dp"
android:layout_marginBottom=
"15dp"
android:background=
"@drawable/circle_solid_main"
android:gravity=
"center"
android:text=
"@string/demo_ad"
android:textColor=
"@color/white"
/>
<TextView
android:id=
"@+id/native_insert_dislike_text"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"@drawable/circle_solid_main"
android:textColor=
"@color/white"
android:text=
"@string/demo_reward_feedback"
android:gravity=
"center"
android:layout_gravity=
"end|bottom"
android:layout_marginBottom=
"15dp"
android:layout_marginRight=
"10dp"
android:layout_marginEnd=
"10dp"
/>
</FrameLayout>
\ No newline at end of file
GoodMoney/app/src/main/res/values/strings.xml
View file @
663594f8
...
@@ -35,4 +35,10 @@
...
@@ -35,4 +35,10 @@
<string
name=
"notification_permission"
>
通知权限
</string>
<string
name=
"notification_permission"
>
通知权限
</string>
<string
name=
"get_permission"
>
获取权限
</string>
<string
name=
"get_permission"
>
获取权限
</string>
<string
name=
"live_feed_btn"
>
去抖音直播间
</string>
<string
name=
"live_fans_text"
>
粉丝 %1$s
</string>
<string
name=
"live_watch_text"
>
观看 %1$s
</string>
<string
name=
"demo_reward_feedback"
>
反馈
</string>
<string
name=
"demo_ad"
>
Ad
</string>
</resources>
</resources>
GoodMoney/app/src/main/res/xml/file_paths.xml
View file @
663594f8
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<paths
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<paths
xmlns:android=
"http://schemas.android.com/apk/res/android"
>
<!--为了适配所有路径可以设置 path = "." -->
<!--为了适配所有路径可以设置 path = "." -->
<external-path
<external-path
name=
"tt_external_root"
path=
"."
/>
name=
"tt_external_root"
<external-path
name=
"tt_external_download"
path=
"Download"
/>
path=
"."
/>
<external-files-path
name=
"tt_external_files_download"
path=
"Download"
/>
<external-path
<files-path
name=
"tt_internal_file_download"
path=
"Download"
/>
name=
"tt_external_download"
<cache-path
name=
"tt_internal_cache_download"
path=
"Download"
/>
path=
"Download"
/>
<external-files-path
name=
"tt_external_files_download"
path=
"Download"
/>
<files-path
name=
"tt_internal_file_download"
path=
"Download"
/>
<cache-path
name=
"tt_internal_cache_download"
path=
"Download"
/>
</paths>
</paths>
\ No newline at end of file
GoodMoney/app/src/main/res/xml/network_security_config.xml
View file @
663594f8
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
<network-security-config>
<network-security-config>
<base-config
cleartextTrafficPermitted=
"true"
>
<base-config
cleartextTrafficPermitted=
"true"
>
<trust-anchors>
<trust-anchors>
<certificates
src=
"user"
/>
<certificates
src=
"system"
/>
<certificates
src=
"system"
/>
</trust-anchors>
</trust-anchors>
</base-config>
</base-config>
...
...
GoodMoney/build.gradle
View file @
663594f8
...
@@ -75,10 +75,8 @@ allprojects {
...
@@ -75,10 +75,8 @@ allprojects {
// umeng仓库
// umeng仓库
maven
{
url
'https://repo1.maven.org/maven2/'
}
maven
{
url
'https://repo1.maven.org/maven2/'
}
maven
{
url
"https://jitpack.io"
}
maven
{
url
"https://jitpack.io"
}
//添加一览 maven地址
maven
{
maven
{
url
'http
://nexus.1lan.tv/repository/maven-releases/
'
url
'http
s://artifact.bytedance.com/repository/pangle
'
}
}
maven
{
maven
{
url
'http://maven.aliyun.com/nexus/content/repositories/releases/'
url
'http://maven.aliyun.com/nexus/content/repositories/releases/'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment