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
73721273
Commit
73721273
authored
Jan 07, 2021
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新金币记录样式
parent
33daf374
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
32 deletions
+35
-32
Constant.kt
.../app/src/main/java/com/mints/goodmoney/common/Constant.kt
+1
-1
CoinRecordActivity.kt
...va/com/mints/goodmoney/ui/activitys/CoinRecordActivity.kt
+2
-0
MyFragment.kt
...c/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
+6
-1
item_list_goldrecord.xml
GoodMoney/app/src/main/res/layout/item_list_goldrecord.xml
+26
-30
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/common/Constant.kt
View file @
73721273
...
...
@@ -179,7 +179,7 @@ object Constant {
const
val
HOT_ACTIVITY_BOOK
=
"readBook"
const
val
HOT_ACTIVITY_NEWS
=
"TO_RUISHI"
const
val
HOT_ACTIVITY_DHGAME
=
"dhGame"
const
val
HOT_ACTIVITY_SHARE
=
"share
"
const
val
HOT_ACTIVITY_SHARE
_NEWS
=
"TO_SHARE_NEWS
"
// 打开激活
const
val
FIRST_DEVICE_FLAG
=
"first_device_flag"
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/activitys/CoinRecordActivity.kt
View file @
73721273
package
com.mints.goodmoney.ui.activitys
import
android.view.View
import
androidx.recyclerview.widget.DividerItemDecoration
import
com.mints.goodmoney.R
import
com.mints.goodmoney.manager.AppHttpManager
import
com.mints.goodmoney.mvp.model.BaseResponse
...
...
@@ -65,6 +66,7 @@ class CoinRecordActivity : BaseActivity(), View.OnClickListener, OnRefreshListen
private
fun
initRecy
()
{
coinRecordAdapter
=
CoinRecordAdapter
(
this
,
mCoinData
)
recy_drawcash
.
addItemDecoration
(
DividerItemDecoration
(
this
,
DividerItemDecoration
.
VERTICAL
))
recy_drawcash
.
adapter
=
coinRecordAdapter
}
...
...
GoodMoney/app/src/main/java/com/mints/goodmoney/ui/fragment/MyFragment.kt
View file @
73721273
...
...
@@ -847,7 +847,12 @@ class MyFragment : BaseFragment(), MyView, OnItemChildClickListener, OnRefreshLi
TTPreLoadCarrierExpressManager
.
getInstance
().
loadTtFrameLayout
(
TtCsjAdManager
.
TT_AD_NATIVEEXPRESS_EAT
)
readyGo
(
FoodSubsidyActivity
::
class
.
java
)
}
Constant
.
HOT_ACTIVITY_SHARE
->
{
Constant
.
HOT_ACTIVITY_SHARE_NEWS
->
{
if
(!
userManager
.
userIsLogin
())
{
readyGo
(
WxLoginActivity
::
class
.
java
)
return
}
shareArticle
(
300
)
}
else
->
{
...
...
GoodMoney/app/src/main/res/layout/item_list_goldrecord.xml
View file @
73721273
...
...
@@ -17,54 +17,50 @@
android:textSize=
"18sp"
android:visibility=
"gone"
/>
<
Linear
Layout
<
Relative
Layout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"
2
dp"
android:layout_marginBottom=
"
2
dp"
android:layout_marginTop=
"
4
dp"
android:layout_marginBottom=
"
4
dp"
android:orientation=
"horizontal"
>
<TextView
android:id=
"@+id/tv_goldrecord_time"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_below=
"@id/tv_goldrecord_content"
android:layout_alignStart=
"@id/tv_goldrecord_content"
android:text=
"12:12:32"
android:textColor=
"@color/black"
android:textSize=
"14sp"
/>
android:textSize=
"12sp"
/>
<TextView
android:id=
"@+id/tv_goldrecord_content"
android:layout_width=
"
0dp
"
android:layout_width=
"
wrap_content
"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"20dp"
android:layout_marginEnd=
"10dp"
android:layout_weight=
"1"
android:layout_marginTop=
"2dp"
android:text=
"12:12:32"
android:textColor=
"@color/black"
android:textSize=
"14sp"
/>
<LinearLayout
<TextView
android:id=
"@+id/tv_goldrecord_cash"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center_vertical"
android:orientation=
"horizontal"
>
<TextView
android:id=
"@+id/tv_goldrecord_cash"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginEnd=
"7dp"
android:text=
"0"
android:textColor=
"@color/color_FF9837"
android:textSize=
"14sp"
/>
android:layout_centerVertical=
"true"
android:layout_marginEnd=
"7dp"
android:layout_toStartOf=
"@id/tv_goldrecord_cash_type"
android:text=
"0"
android:textColor=
"@color/color_FF9837"
android:textSize=
"14sp"
/>
<TextView
android:id=
"@+id/tv_goldrecord_cash_type"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"金币"
android:textColor=
"@color/black"
android:textSize=
"14sp"
/>
</LinearLayout>
</LinearLayout>
<TextView
android:id=
"@+id/tv_goldrecord_cash_type"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentEnd=
"true"
android:layout_centerVertical=
"true"
android:text=
"金币"
android:textColor=
"@color/black"
android:textSize=
"14sp"
/>
</RelativeLayout>
</LinearLayout>
\ No newline at end of file
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