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
ef8cd6d4
Commit
ef8cd6d4
authored
Oct 18, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xixi首页添加客服入口
parent
ed8c809c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
2 deletions
+25
-2
build.gradle
video/app/build.gradle
+2
-2
MainFragment.kt
...n/java/com/duben/xixiplayletu/ui/fragment/MainFragment.kt
+12
-0
fragment_main.xml
video/app/src/main/res/layout/fragment_main.xml
+11
-0
No files found.
video/app/build.gradle
View file @
ef8cd6d4
...
@@ -10,8 +10,8 @@ android {
...
@@ -10,8 +10,8 @@ android {
applicationId
"com.duben.xixiplayletu"
applicationId
"com.duben.xixiplayletu"
minSdkVersion
rootProject
.
ext
.
androidMinSdkVersion
minSdkVersion
rootProject
.
ext
.
androidMinSdkVersion
targetSdkVersion
rootProject
.
ext
.
androidTargetSdkVersion
targetSdkVersion
rootProject
.
ext
.
androidTargetSdkVersion
versionCode
72
0
versionCode
72
1
versionName
"7.2.
0
"
versionName
"7.2.
1
"
flavorDimensions
"default"
flavorDimensions
"default"
// dex突破65535的限制
// dex突破65535的限制
...
...
video/app/src/main/java/com/duben/xixiplayletu/ui/fragment/MainFragment.kt
View file @
ef8cd6d4
...
@@ -151,6 +151,7 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
...
@@ -151,6 +151,7 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
iv_main_watching_close
.
setOnClickListener
(
this
)
iv_main_watching_close
.
setOnClickListener
(
this
)
tv_main_watching_goto
.
setOnClickListener
(
this
)
tv_main_watching_goto
.
setOnClickListener
(
this
)
ll_lucky
.
setOnClickListener
(
this
)
ll_lucky
.
setOnClickListener
(
this
)
iv_kefu_main
.
setOnClickListener
(
this
)
}
}
override
fun
onClick
(
v
:
View
?)
{
override
fun
onClick
(
v
:
View
?)
{
...
@@ -170,6 +171,9 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
...
@@ -170,6 +171,9 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
R
.
id
.
ll_lucky
->
{
R
.
id
.
ll_lucky
->
{
readyGo
(
NineActivity
::
class
.
java
)
readyGo
(
NineActivity
::
class
.
java
)
}
}
R
.
id
.
iv_kefu_main
->
{
(
requireActivity
()
as
MainActivity
).
backPhoneDialog
()
}
}
}
}
}
...
@@ -184,6 +188,14 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
...
@@ -184,6 +188,14 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
}
}
}
}
}
}
context
?.
let
{
GlideUtils
.
loadImageViewGifForCenterCrop
(
it
,
"https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/ic_kefu_main.png"
,
iv_kefu_main
,
1
)
}
}
}
private
fun
initVp
()
{
private
fun
initVp
()
{
...
...
video/app/src/main/res/layout/fragment_main.xml
View file @
ef8cd6d4
...
@@ -243,6 +243,17 @@
...
@@ -243,6 +243,17 @@
</RelativeLayout>
</RelativeLayout>
</LinearLayout>
</LinearLayout>
<ImageView
android:id=
"@+id/iv_kefu_main"
android:layout_width=
"80dp"
android:layout_height=
"88dp"
android:layout_marginEnd=
"5dp"
android:layout_marginBottom=
"90dp"
android:gravity=
"center"
android:orientation=
"vertical"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
/>
<LinearLayout
<LinearLayout
android:id=
"@+id/ll_lucky"
android:id=
"@+id/ll_lucky"
android:layout_width=
"wrap_content"
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