Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
L
LuckyFarm
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
LuckyFarm
Commits
56e65833
Commit
56e65833
authored
Nov 18, 2020
by
Li
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_ddcy_1.0.3' into develop_ddcy_1.0.3
parents
b5f7fa83
e1396405
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
7 deletions
+57
-7
HomeInfoEntity.java
app/src/main/java/com/ym/game/module/HomeInfoEntity.java
+18
-0
layout_popup_drops.xml
app/src/main/res/layout/layout_popup_drops.xml
+39
-7
No files found.
app/src/main/java/com/ym/game/module/HomeInfoEntity.java
View file @
56e65833
...
@@ -25,6 +25,24 @@ public class HomeInfoEntity {
...
@@ -25,6 +25,24 @@ public class HomeInfoEntity {
private
int
acceleratorsNum
;
private
int
acceleratorsNum
;
private
String
imgUrl
;
private
String
imgUrl
;
private
int
plantBoxNum
;
private
int
plantBoxNum
;
private
int
currentClockNum
;
//当前打卡数量
private
int
maxClockNum
;
//所需打卡数量
public
int
getCurrentClockNum
()
{
return
currentClockNum
;
}
public
void
setCurrentClockNum
(
int
currentClockNum
)
{
this
.
currentClockNum
=
currentClockNum
;
}
public
int
getMaxClockNum
()
{
return
maxClockNum
;
}
public
void
setMaxClockNum
(
int
maxClockNum
)
{
this
.
maxClockNum
=
maxClockNum
;
}
public
int
getPlantBoxNum
()
{
public
int
getPlantBoxNum
()
{
return
plantBoxNum
;
return
plantBoxNum
;
...
...
app/src/main/res/layout/layout_popup_drops.xml
View file @
56e65833
...
@@ -51,11 +51,10 @@
...
@@ -51,11 +51,10 @@
android:id=
"@+id/layout_drops_title"
android:id=
"@+id/layout_drops_title"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"120dp"
android:layout_marginBottom=
"20dp"
android:gravity=
"center_horizontal"
android:gravity=
"center_horizontal"
android:orientation=
"vertical"
android:orientation=
"vertical"
android:visibility=
"visible"
>
android:visibility=
"gone"
>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -108,20 +107,53 @@
...
@@ -108,20 +107,53 @@
</LinearLayout>
</LinearLayout>
<
Frame
Layout
<
Linear
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/layout_drops_title"
android:layout_below=
"@+id/layout_drops_title"
android:layout_alignParentBottom=
"true"
android:layout_marginTop=
"120dp"
android:layout_marginBottom=
"20dp"
android:paddingLeft=
"15dp"
android:paddingLeft=
"15dp"
android:paddingRight=
"15dp"
>
android:paddingRight=
"15dp"
android:orientation=
"vertical"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:orientation=
"horizontal"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"明日登录可获得"
android:textColor=
"#642D2D"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
<TextView
android:id=
"@+id/id_tv_reward_coin"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"100"
android:textColor=
"#E85740"
android:textSize=
"22sp"
android:textStyle=
"bold"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"金币"
android:textColor=
"#642D2D"
android:textSize=
"20sp"
android:textStyle=
"bold"
/>
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/recycler_popup_watering"
android:id=
"@+id/recycler_popup_watering"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
app:layoutManager=
"androidx.recyclerview.widget.LinearLayoutManager"
/>
app:layoutManager=
"androidx.recyclerview.widget.LinearLayoutManager"
/>
</
Frame
Layout>
</
Linear
Layout>
</RelativeLayout>
</RelativeLayout>
...
...
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