Commit 73721273 authored by jyx's avatar jyx

更新金币记录样式

parent 33daf374
......@@ -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"
......
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
}
......
......@@ -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 -> {
......
......@@ -17,43 +17,38 @@
android:textSize="18sp"
android:visibility="gone" />
<LinearLayout
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_marginTop="4dp"
android:layout_marginBottom="4dp"
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
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_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" />
......@@ -62,9 +57,10 @@
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" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>
</LinearLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment