bug修改 - ui 对齐
This commit is contained in:
parent
5d217d025b
commit
8a045117ea
|
|
@ -86,7 +86,7 @@ class TasksFragment : AppViewsFragment<ViewBinding, UiState, ViewModel>(), OnTab
|
|||
llTaskZerobuy, tvWatchVideoForConvertGoldToCash, tvWithdraw) {
|
||||
when(this) {
|
||||
ivGotoDailySign->{
|
||||
if (TaskManager.instance().dailySignStatus().isDailySignAllOperationDone()) {
|
||||
if (!TaskManager.instance().dailySignStatus().isDailySignAllOperationDone()) {
|
||||
DailySignDialog(requireActivity()).show()
|
||||
}
|
||||
}
|
||||
|
|
@ -156,6 +156,8 @@ class TasksFragment : AppViewsFragment<ViewBinding, UiState, ViewModel>(), OnTab
|
|||
showGuide1()
|
||||
}, 5)
|
||||
}
|
||||
|
||||
updateDailySignButUI()
|
||||
}
|
||||
|
||||
private fun gotoZeroBuy() {
|
||||
|
|
|
|||
|
|
@ -42,20 +42,30 @@
|
|||
android:layout_gravity="center"
|
||||
/>
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/tv_cash_num"
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:textSize="30sp"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/yellow_0b"
|
||||
android:text="100"
|
||||
android:orientation="horizontal"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:drawableStart="@mipmap/task_gold"
|
||||
android:drawablePadding="10dp"
|
||||
/>
|
||||
android:gravity="center_vertical">
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:src="@mipmap/task_gold"
|
||||
android:layout_marginTop="3dp"
|
||||
/>
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/tv_cash_num"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:textSize="30sp"
|
||||
android:textStyle="bold"
|
||||
android:textColor="@color/yellow_0b"
|
||||
android:text="100"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue