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