bug修复5, 6, 8
This commit is contained in:
parent
470c11d5b8
commit
8c9dd06295
|
|
@ -4,6 +4,8 @@ import android.content.Context
|
|||
import android.util.AttributeSet
|
||||
import android.view.LayoutInflater
|
||||
import android.widget.LinearLayout
|
||||
import com.ama.core.architecture.util.ResUtil
|
||||
import com.vididin.real.money.game.R
|
||||
import com.vididin.real.money.game.databinding.WithdrawItemViewBinding as ViewBinding
|
||||
|
||||
|
||||
|
|
@ -28,7 +30,7 @@ class WithDrawItemView @JvmOverloads constructor(
|
|||
fun setNumAndAction(itemIndex: Int, cashNum: Float, clickAction: (Int)->Unit) {
|
||||
mItemIndex = itemIndex
|
||||
mCashNum = cashNum
|
||||
mBinding.tvWithdrawNum.text = cashNum.toString()
|
||||
mBinding.tvWithdrawNum.text = ResUtil.getString(R.string.cash) + cashNum.toString()
|
||||
mBinding.tvSacar.setOnClickListener {
|
||||
clickAction.invoke(mItemIndex)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -243,6 +243,7 @@
|
|||
android:gravity="center"
|
||||
android:layout_marginTop="8dp"
|
||||
android:text="@string/task_act_benef"
|
||||
android:textStyle="bold"
|
||||
android:textColor="#FFFF0A5C"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
|
|
@ -281,6 +282,7 @@
|
|||
android:layout_marginTop="8dp"
|
||||
android:text="@string/task_act_video"
|
||||
android:textColor="#FFFF0A5C"
|
||||
android:textStyle="bold"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
|
@ -313,9 +315,10 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginTop="11dp"
|
||||
android:text="@string/task_act_game"
|
||||
android:textColor="#FFFF0A5C"
|
||||
android:textStyle="bold"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
|
@ -349,9 +352,10 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginTop="11dp"
|
||||
android:text="@string/task_act_convi"
|
||||
android:textColor="#FFFF0A5C"
|
||||
android:textStyle="bold"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
|
|
|||
Loading…
Reference in New Issue