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
8bdfa54c
Commit
8bdfa54c
authored
Oct 18, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
446cfee7
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
160 additions
and
32 deletions
+160
-32
build.gradle
video/app/build.gradle
+2
-2
VipActivity.kt
...java/com/duben/miaoquplayletu/ui/activitys/VipActivity.kt
+8
-0
MainFragment.kt
...java/com/duben/miaoquplayletu/ui/fragment/MainFragment.kt
+139
-30
fragment_main.xml
video/app/src/main/res/layout/fragment_main.xml
+11
-0
No files found.
video/app/build.gradle
View file @
8bdfa54c
...
...
@@ -10,8 +10,8 @@ android {
applicationId
"com.duben.miaoquplayletu"
minSdkVersion
rootProject
.
ext
.
androidMinSdkVersion
targetSdkVersion
rootProject
.
ext
.
androidTargetSdkVersion
versionCode
72
1
versionName
"7.2.
1
"
versionCode
72
2
versionName
"7.2.
2
"
flavorDimensions
"default"
// dex突破65535的限制
...
...
video/app/src/main/java/com/duben/miaoquplayletu/ui/activitys/VipActivity.kt
View file @
8bdfa54c
...
...
@@ -3,6 +3,7 @@ package com.duben.miaoquplayletu.ui.activitys
import
android.animation.ValueAnimator
import
android.app.Dialog
import
android.content.Intent
import
android.graphics.Color
import
android.net.Uri
import
android.os.Bundle
import
android.os.Handler
...
...
@@ -207,6 +208,13 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
if
(!
TextUtils
.
isEmpty
(
bean
.
remarks
))
{
tv_vip_hint
.
text
=
bean
.
remarks
tv_vip_hint
.
visibility
=
View
.
VISIBLE
if
(
bean
.
isShowCycTips
)
{
tv_vip_hint
.
setTextColor
(
Color
.
parseColor
(
"#FFAC5E"
))
tv_vip_hint
.
textSize
=
12f
}
else
{
tv_vip_hint
.
setTextColor
(
Color
.
parseColor
(
"#97ffffff"
))
tv_vip_hint
.
textSize
=
10f
}
}
else
{
tv_vip_hint
.
visibility
=
View
.
INVISIBLE
}
...
...
video/app/src/main/java/com/duben/miaoquplayletu/ui/fragment/MainFragment.kt
View file @
8bdfa54c
This diff is collapsed.
Click to expand it.
video/app/src/main/res/layout/fragment_main.xml
View file @
8bdfa54c
...
...
@@ -254,6 +254,17 @@
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
/>
<ImageView
android:id=
"@+id/iv_sign_main"
android:layout_width=
"80dp"
android:layout_height=
"88dp"
android:layout_marginEnd=
"5dp"
android:layout_marginBottom=
"170dp"
android:gravity=
"center"
android:orientation=
"vertical"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
/>
<LinearLayout
android:id=
"@+id/ll_lucky"
android:layout_width=
"wrap_content"
...
...
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