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
c6569921
Commit
c6569921
authored
Jun 28, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_ad' of
http://39.97.65.143:81/android/android_goodmoney
into dev_ad
parents
7aa2c8ac
469e9880
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
10 deletions
+17
-10
FlDialog.kt
...in/java/com/mints/goodmoney/ui/widgets/dialog/FlDialog.kt
+3
-0
dialog_fl.xml
GoodMoney/app/src/main/res/layout/dialog_fl.xml
+14
-10
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/widgets/dialog/FlDialog.kt
View file @
c6569921
...
...
@@ -25,6 +25,7 @@ class FlDialog(data: FlActivityBean.ActiveTipsConfigDTO, context: Context, priva
private
val
iv_fl
:
ImageView
private
val
tv_1
:
TextView
private
val
tv_2
:
TextView
private
val
tv_fl_dialog_context
:
TextView
init
{
setContentView
(
R
.
layout
.
dialog_fl
)
...
...
@@ -47,9 +48,11 @@ class FlDialog(data: FlActivityBean.ActiveTipsConfigDTO, context: Context, priva
iv_fl
=
findViewById
(
R
.
id
.
iv_fl
)
tv_1
=
findViewById
(
R
.
id
.
tv_1
)
tv_2
=
findViewById
(
R
.
id
.
tv_2
)
tv_fl_dialog_context
=
findViewById
(
R
.
id
.
tv_fl_dialog_context
)
tv_1
.
text
=
data
.
title
tv_2
.
text
=
data
.
hotTitle
tv_fl_dialog_context
.
text
=
data
.
context
//显示图片
//显示图片
GlideUtils
.
loadImageViewLoding
(
context
,
data
.
url
,
iv_fl
,
R
.
mipmap
.
fl_zwf
)
...
...
GoodMoney/app/src/main/res/layout/dialog_fl.xml
View file @
c6569921
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"3
0
0dp"
android:layout_height=
"4
0
0dp"
android:layout_width=
"3
1
0dp"
android:layout_height=
"4
2
0dp"
android:background=
"@mipmap/bg_fl"
>
<ImageView
...
...
@@ -15,9 +15,9 @@
android:src=
"@mipmap/iv_close_tx"
/>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width=
"
wrap_cont
ent"
android:layout_width=
"
match_par
ent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"
1
0dp"
android:layout_marginBottom=
"
2
0dp"
android:layout_gravity=
"bottom|center_horizontal"
android:orientation=
"vertical"
>
...
...
@@ -55,25 +55,29 @@
</RelativeLayout>
<TextView
android:id=
"@+id/tv_fl_dialog_context"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_horizontal"
android:layout_marginLeft=
"
5
dp"
android:layout_marginRight=
"
5
dp"
android:layout_marginLeft=
"
20
dp"
android:layout_marginRight=
"
20
dp"
android:layout_marginBottom=
"10dp"
android:lineHeight=
"20dp"
android:text=
"恭喜
获得加速赚钱特权,赚取金币\n快人一步!
"
android:text=
"恭喜"
android:textColor=
"#CCffffff"
android:textSize=
"16sp"
/>
<ImageView
android:id=
"@+id/iv_fl"
android:layout_width=
"
240dp
"
android:layout_width=
"
match_parent
"
android:layout_height=
"140dp"
android:layout_marginLeft=
"20dp"
android:layout_marginRight=
"20dp"
android:layout_marginTop=
"4dp"
android:scaleType=
"fitXY"
android:layout_gravity=
"center_horizontal"
android:layout_marginBottom=
"10dp"
android:gravity=
"center"
android:padding=
"6dp"
/>
android:gravity=
"center"
/>
<TextView
android:id=
"@+id/tv_focus"
...
...
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