마이페이지 메인 - 코인(캔) 아이콘 변경
This commit is contained in:
parent
bf7a7d69a2
commit
03de8eba86
|
@ -136,7 +136,7 @@ class MyPageFragment : BaseFragment<FragmentMyBinding>(FragmentMyBinding::inflat
|
|||
}
|
||||
}
|
||||
|
||||
binding.tvTotalCoin.text = "${(it.chargeCoin + it.rewardCoin).moneyFormat()} 캔"
|
||||
binding.tvTotalCoin.text = (it.chargeCoin + it.rewardCoin).moneyFormat()
|
||||
binding.tvReservationSuda.text = "${it.sudaReservationCount}"
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.8 KiB |
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/color_fdca2f" />
|
||||
<solid android:color="@android:color/transparent" />
|
||||
<corners android:radius="16.7dp" />
|
||||
<stroke
|
||||
android:width="1dp"
|
|
@ -165,20 +165,39 @@
|
|||
android:background="@drawable/bg_round_corner_16_7_222222"
|
||||
android:padding="13.3dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_total_coin"
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:drawablePadding="6.7dp"
|
||||
android:fontFamily="@font/gmarket_sans_bold"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/color_eeeeee"
|
||||
android:textSize="18.3sp"
|
||||
app:drawableEndCompat="@drawable/ic_forward"
|
||||
app:drawableStartCompat="@drawable/ic_coin_w"
|
||||
tools:ignore="RelativeOverlap"
|
||||
tools:text="23,000 코인" />
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="RelativeOverlap">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_total_coin"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/gmarket_sans_bold"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/color_eeeeee"
|
||||
android:textSize="18.3sp"
|
||||
tools:text="23,000" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="5.3dp"
|
||||
android:layout_marginEnd="2.7dp"
|
||||
android:gravity="center"
|
||||
android:contentDescription="@null"
|
||||
android:src="@drawable/ic_can" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:contentDescription="@null"
|
||||
android:gravity="center"
|
||||
android:src="@drawable/ic_forward" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_charge_coin"
|
||||
|
@ -186,15 +205,14 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="@drawable/bg_round_corner_16_7_fdca2f"
|
||||
android:drawablePadding="7dp"
|
||||
android:background="@drawable/bg_round_corner_16_7_transparent_fdca2f"
|
||||
android:drawablePadding="3.7dp"
|
||||
android:fontFamily="@font/gmarket_sans_bold"
|
||||
android:gravity="center_vertical"
|
||||
android:minHeight="33.3dp"
|
||||
android:paddingStart="9dp"
|
||||
android:paddingEnd="15dp"
|
||||
android:paddingVertical="7dp"
|
||||
android:paddingHorizontal="11.3dp"
|
||||
android:text="충전"
|
||||
android:textColor="@color/black"
|
||||
android:textColor="@color/color_fdca2f"
|
||||
android:textSize="12sp"
|
||||
app:drawableStartCompat="@drawable/ic_coin_w" />
|
||||
</RelativeLayout>
|
||||
|
|
Loading…
Reference in New Issue