bug修改 - 签到完成界面按钮上的文案需要加自适应,现在显示不完
This commit is contained in:
parent
1405041810
commit
b010c1e4d2
|
|
@ -86,7 +86,9 @@ class TasksFragment : AppViewsFragment<ViewBinding, UiState, ViewModel>(), OnTab
|
|||
llTaskZerobuy, tvWatchVideoForConvertGoldToCash, tvWithdraw) {
|
||||
when(this) {
|
||||
ivGotoDailySign->{
|
||||
DailySignDialog(requireActivity()).show()
|
||||
if (TaskManager.instance().dailySignStatus().isDailySignAllOperationDone()) {
|
||||
DailySignDialog(requireActivity()).show()
|
||||
}
|
||||
}
|
||||
|
||||
llTaskBenefit->{
|
||||
|
|
|
|||
|
|
@ -44,8 +44,8 @@ class DailySignItemView @JvmOverloads constructor(
|
|||
fun setLargeWidthMode() {
|
||||
mBinding.ivGold.setImageResource(R.mipmap.icon_gold_x3)
|
||||
mBinding.ivBg.setImageResource(R.mipmap.bg_biginner_daily_large)
|
||||
val param: ConstraintLayout.LayoutParams = mBinding.ivBg.layoutParams as ConstraintLayout.LayoutParams
|
||||
param.dimensionRatio = "H, 438:240"
|
||||
/*val param: ConstraintLayout.LayoutParams = mBinding.ivBg.layoutParams as ConstraintLayout.LayoutParams
|
||||
param.dimensionRatio = "H, 438:240"*/
|
||||
}
|
||||
|
||||
fun setSelectState(isSelect: Boolean) {
|
||||
|
|
|
|||
|
|
@ -15,10 +15,9 @@
|
|||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_bg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_height="80dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:src="@mipmap/bg_biginner_daily"
|
||||
app:layout_constraintDimensionRatio="H, 68:80"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue