Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_vedio
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_vedio
Commits
49308f8c
Commit
49308f8c
authored
Oct 25, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
c3511594
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
73 additions
and
4 deletions
+73
-4
build.gradle
video/app/build.gradle
+2
-2
VipActivity.kt
...in/java/com/duben/dayplayletd/ui/activitys/VipActivity.kt
+13
-1
BaseActivity.java
...com/duben/dayplayletd/ui/activitys/base/BaseActivity.java
+1
-1
gradle.properties
video/gradle.properties
+57
-0
No files found.
video/app/build.gradle
View file @
49308f8c
...
...
@@ -10,8 +10,8 @@ android {
applicationId
"com.duben.dayplayletd"
minSdkVersion
rootProject
.
ext
.
androidMinSdkVersion
targetSdkVersion
rootProject
.
ext
.
androidTargetSdkVersion
versionCode
72
2
versionName
"7.2.
2
"
versionCode
72
3
versionName
"7.2.
3
"
flavorDimensions
"default"
// dex突破65535的限制
...
...
video/app/src/main/java/com/duben/dayplayletd/ui/activitys/VipActivity.kt
View file @
49308f8c
...
...
@@ -33,6 +33,7 @@ import com.duben.dayplayletd.ui.adapter.VipBannerAdapter
import
com.duben.dayplayletd.ui.widgets.*
import
com.duben.dayplayletd.ui.widgets.countdowntimer.CountDownTimerSupport
import
com.duben.dayplayletd.ui.widgets.countdowntimer.OnCountDownTimerListener
import
com.duben.dayplayletd.utils.SpanUtils
import
com.duben.library.utils.GlideUtils
import
com.duben.library.utils.nodoubleclick.AntiShake
import
com.jobo.alipay.AliPay
...
...
@@ -220,7 +221,18 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
}
if
(!
TextUtils
.
isEmpty
(
bean
.
buttonText
))
{
if
(
bean
.
isShowCycTips
)
{
tvVipPay
.
text
=
SpanUtils
()
.
append
(
bean
.
buttonText
+
"\n"
)
.
setFontSize
(
20
,
true
)
.
append
(
bean
.
remarks
)
.
setFontSize
(
10
,
true
)
.
setForegroundColor
(
Color
.
parseColor
(
"#A24240"
))
.
create
()
}
else
{
tvVipPay
.
text
=
bean
.
buttonText
}
tvVipAgreement
.
text
=
"点击购买即表示您同意《自动续费协议》"
}
else
{
tvVipPay
.
text
=
"立即开通"
...
...
video/app/src/main/java/com/duben/dayplayletd/ui/activitys/base/BaseActivity.java
View file @
49308f8c
...
...
@@ -39,7 +39,7 @@ public abstract class BaseActivity extends BaseAppCompatActivity implements Base
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
// 禁止截图
//
getWindow().addFlags(WindowManager.LayoutParams.FLAG_SECURE);
getWindow
().
addFlags
(
WindowManager
.
LayoutParams
.
FLAG_SECURE
);
if
(
android
.
os
.
Build
.
VERSION
.
SDK_INT
!=
Build
.
VERSION_CODES
.
O
)
{
setRequestedOrientation
(
ActivityInfo
.
SCREEN_ORIENTATION_PORTRAIT
);
...
...
video/gradle.properties
0 → 100644
View file @
49308f8c
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs
=
-Xmx2058m
android.injected.testOnly
=
false
android.useAndroidX
=
true
android.enableJetifier
=
true
android.nonTransitiveRClass
=
true
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
#DEBUG_URL="https://test.mints-id.com/camera-api/"
#DEBUG_URL="http://cui.mints-id.com/"
DEBUG_URL
=
"https://api.mints-tech.cn/camera-api/"
RELEASE_URL="https://api.mints-tech.cn/camera-api/"
RELEASE_KEY_PASSWORD
=
mintsdayplayletd
RELEASE_KEY_ALIAS
=
mints_dayplayletd
RELEASE_STORE_PASSWORD
=
mintsdayplayletd
RELEASE_STORE_FILE
=
mints_dayplayletd.jks
#ShareSDK
RELEASE_SHARESDK_KEY
=
38af89ff44247
RELEASE_SHARESDK_SECRET
=
96cb295278eb0f53b70e1cb807a74869
#weixin
WEIXIN_APP_PAY_ID
=
"wx78fff52fb3b373c5"
WEIXIN_APP_ID =wx78fff52fb3b373c5
WEIXIN_APP_SECRET
=
63a98dbec4bbc432dc92039be7229540
#umeng
RELEASE_UMENG_KEY
=
64b8de13a1a164591b5133df
#TalkingData
RELEASE_TALKING_DATA_KEY
=
"51E408B7C0FE404F97A4F80B0BDC3C06"
GROMORE_APP_ID="5551036"
GROMORE_SPLASH_CODE
=
"102911237"
GROMORE_VIDEO_CODE="102911235"
GROMORE_EXPRESS_CODE
=
"102911236"
GROMORE_MY_EXPRESS_CODE="102911236"
GROMORE_MAIN_EXPRESS_CODE
=
"102911236"
GROMORE_DRAW_CODE="aa"
GROMORE_BANNER_CODE
=
"102911238"
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