캔 아이콘 변경

This commit is contained in:
klaus 2023-08-17 23:41:16 +09:00
parent 7aaac27d24
commit e165813545
27 changed files with 23 additions and 82 deletions

View File

@ -40,7 +40,7 @@ class AudioContentAdapter(
} else {
binding.tvPrice.text = item.price.moneyFormat()
binding.tvPrice.setCompoundDrawablesWithIntrinsicBounds(
R.drawable.ic_coin_w,
R.drawable.ic_can,
0,
0,
0

View File

@ -463,7 +463,7 @@ class AudioContentPlayService :
override fun onResourceReady(resource: Bitmap, transition: Transition<in Bitmap>?) {
val notificationBuilder = NotificationCompat
.Builder(this@AudioContentPlayService, channelId)
.setSmallIcon(R.drawable.ic_noti)
.setSmallIcon(R.drawable.ic_notification)
.setLargeIcon(resource)
.setContentTitle(title ?: "오디오 콘텐츠")
.setContentText(nickname ?: "")

View File

@ -62,7 +62,7 @@ class SodaLiveService : Service() {
)
val notificationBuilder = NotificationCompat.Builder(this, notificationChannelId)
.setSmallIcon(R.drawable.ic_noti)
.setSmallIcon(R.drawable.ic_notification)
.setContentTitle(getString(R.string.app_name))
.setContentText(content)
.setOngoing(true)

View File

@ -75,7 +75,7 @@ class SodaFirebaseMessagingService : FirebaseMessagingService() {
)
val notificationBuilder = NotificationCompat.Builder(this, notificationChannelId)
.setSmallIcon(R.mipmap.ic_launcher)
.setSmallIcon(R.drawable.ic_notification)
.setContentTitle(messageData["title"])
.setContentText(messageData["message"])
.setSound(defaultSoundUri)

View File

@ -373,11 +373,6 @@ class LiveFragment : BaseFragment<FragmentLiveBinding>(FragmentLiveBinding::infl
recyclerView.visibility = View.GONE
binding.layoutLiveNow.tvAllView.visibility = View.GONE
binding.layoutLiveNow.llNoItems.visibility = View.VISIBLE
binding.layoutLiveNow.tvMakeRoom.setOnClickListener {
val intent = Intent(requireContext(), LiveRoomCreateActivity::class.java)
activityResultLauncher.launch(intent)
}
recyclerView.requestLayout()
binding.layoutLiveNow.llNoItems.requestLayout()
} else {
@ -460,12 +455,6 @@ class LiveFragment : BaseFragment<FragmentLiveBinding>(FragmentLiveBinding::infl
recyclerView.visibility = View.GONE
binding.layoutLiveReservation.tvAllView.visibility = View.GONE
binding.layoutLiveReservation.llNoItems.visibility = View.VISIBLE
binding.layoutLiveReservation.tvMakeRoom.setOnClickListener {
val intent = Intent(requireContext(), LiveRoomCreateActivity::class.java)
intent.putExtra(Constants.EXTRA_LIVE_TIME_NOW, false)
activityResultLauncher.launch(intent)
}
recyclerView.requestLayout()
binding.layoutLiveReservation.llNoItems.requestLayout()
} else {

View File

@ -68,7 +68,7 @@ class LiveNowAllAdapter(
binding.tvPrice.setCompoundDrawablesWithIntrinsicBounds(
0,
0,
R.drawable.ic_coin_w,
R.drawable.ic_can,
0
)
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

View File

@ -409,7 +409,7 @@
android:layout_width="16.7dp"
android:layout_height="16.7dp"
android:contentDescription="@null"
android:src="@drawable/ic_coin_w" />
android:src="@drawable/ic_can" />
<TextView
android:id="@+id/tv_price"

View File

@ -28,7 +28,7 @@
android:layout_gravity="center"
android:layout_marginTop="28.3dp"
android:fontFamily="@font/gmarket_sans_medium"
android:text="지금 참여 가능한 라이브가 없습니다."
android:text="지금 참여 가능한 라이브가 없습니다.\n채널을 팔로잉 하고 라이브 알림을 받아 보세요."
android:textColor="@color/color_bbbbbb"
android:textSize="15sp"
android:visibility="gone" />

View File

@ -63,24 +63,9 @@
android:layout_height="wrap_content"
android:fontFamily="@font/gmarket_sans_medium"
android:gravity="center"
android:text="지금 예약중인 라이브가 없습니다.\n직접 라이브를 만들어 보세요!"
android:text="지금 예약중인 라이브가 없습니다.\n채널을 팔로잉 하고 라이브 알림을 받아 보세요."
android:textColor="@color/color_bbbbbb"
android:textSize="10.7sp"
tools:ignore="SmallSp" />
<TextView
android:id="@+id/tv_make_room"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/bg_round_corner_4_7_9970ff"
android:drawablePadding="8.3dp"
android:fontFamily="@font/gmarket_sans_bold"
android:gravity="center"
android:paddingHorizontal="51.7dp"
android:paddingVertical="8.3dp"
android:text="라이브 만들기"
android:textColor="@color/white"
android:textSize="13.3sp"
app:drawableStartCompat="@drawable/ic_plus_no_bg" />
</LinearLayout>
</LinearLayout>

View File

@ -212,7 +212,7 @@
android:layout_width="16dp"
android:layout_height="16dp"
android:contentDescription="@null"
android:src="@drawable/ic_donation_status" />
android:src="@drawable/ic_can" />
<TextView
android:id="@+id/tv_total_can"

View File

@ -28,7 +28,7 @@
android:layout_height="36.7dp"
android:layout_centerVertical="true"
android:contentDescription="@null"
tools:src="@drawable/ic_noti" />
tools:src="@drawable/ic_notification" />
<LinearLayout
android:layout_width="0dp"

View File

@ -145,7 +145,7 @@
android:layout_height="16.7dp"
android:layout_marginEnd="2.7dp"
android:contentDescription="@null"
android:src="@drawable/ic_coin_w" />
android:src="@drawable/ic_can" />
<TextView
android:id="@+id/tv_price"

View File

@ -38,7 +38,7 @@
android:textColor="@color/color_eeeeee"
android:textSize="16sp"
app:drawableEndCompat="@drawable/ic_forward"
app:drawableStartCompat="@drawable/ic_coin_w"
app:drawableStartCompat="@drawable/ic_can"
tools:ignore="RelativeOverlap"
tools:text="0" />
</RelativeLayout>

View File

@ -121,7 +121,7 @@
android:gravity="center"
android:textColor="@color/white"
android:textSize="18.3sp"
app:drawableEndCompat="@drawable/ic_coin_w"
app:drawableEndCompat="@drawable/ic_can"
tools:text="100" />
<TextView

View File

@ -50,7 +50,7 @@
android:layout_height="16.7dp"
android:layout_marginEnd="2.7dp"
android:contentDescription="@null"
android:src="@drawable/ic_coin_w" />
android:src="@drawable/ic_can" />
<TextView
android:id="@+id/tv_rental"
@ -107,7 +107,7 @@
android:layout_height="16.7dp"
android:layout_marginEnd="2.7dp"
android:contentDescription="@null"
android:src="@drawable/ic_coin_w" />
android:src="@drawable/ic_can" />
<TextView
android:id="@+id/tv_keep"

View File

@ -68,7 +68,7 @@
android:gravity="center"
android:textColor="@color/color_eeeeee"
android:textSize="15.3sp"
app:drawableEndCompat="@drawable/ic_coin_w"
app:drawableEndCompat="@drawable/ic_can"
tools:ignore="RelativeOverlap"
tools:text="300" />

View File

@ -151,7 +151,7 @@
android:gravity="center"
android:textColor="@color/color_909090"
android:textSize="12sp"
app:drawableStartCompat="@drawable/ic_coin_w"
app:drawableStartCompat="@drawable/ic_can"
app:layout_constraintBottom_toBottomOf="@+id/iv_cover"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/iv_cover"

View File

@ -65,7 +65,7 @@
android:layout_width="13.3dp"
android:layout_height="13.3dp"
android:contentDescription="@null"
android:src="@drawable/ic_coin_w" />
android:src="@drawable/ic_can" />
<TextView
android:id="@+id/tv_donation_can"

View File

@ -29,7 +29,7 @@
android:layout_height="16.7dp"
android:layout_gravity="end|bottom"
android:contentDescription="@null"
android:src="@drawable/ic_coin_w"
android:src="@drawable/ic_can"
android:visibility="gone" />
<ImageView
@ -61,11 +61,11 @@
android:layout_height="wrap_content"
android:layout_marginEnd="5dp"
android:fontFamily="@font/gmarket_sans_medium"
android:gravity="center"
android:padding="2dp"
android:textColor="@color/white"
android:visibility="gone"
android:gravity="center"
android:textSize="10sp"
android:visibility="gone"
tools:background="@drawable/bg_round_corner_2_4999e3"
tools:ignore="SmallSp"
tools:text="스탭" />

View File

@ -76,25 +76,9 @@
android:layout_marginVertical="10dp"
android:fontFamily="@font/gmarket_sans_medium"
android:gravity="center"
android:text="🙀지금 참여가능한 라이브가 없습니다.\n직접 라이브를 만들어 보세요!"
android:text="🙀지금 참여가능한 라이브가 없습니다.\n채널을 팔로잉 하고 라이브 알림을 받아 보세요."
android:textColor="@color/color_bbbbbb"
android:textSize="10.7sp"
tools:ignore="SmallSp" />
<TextView
android:id="@+id/tv_make_room"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/bg_round_corner_4_7_9970ff"
android:drawablePadding="8.3dp"
android:fontFamily="@font/gmarket_sans_bold"
android:gravity="center"
android:paddingHorizontal="51.7dp"
android:paddingVertical="8.3dp"
android:text="라이브 만들기"
android:textColor="@color/white"
android:textSize="13.3sp"
app:drawableStartCompat="@drawable/ic_plus_no_bg" />
</LinearLayout>
</LinearLayout>

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -77,25 +76,9 @@
android:layout_marginVertical="10dp"
android:fontFamily="@font/gmarket_sans_medium"
android:gravity="center"
android:text="지금 예약중인 라이브가 없습니다.\n직접 라이브를 만들어 보세요!"
android:text="지금 예약중인 라이브가 없습니다.\n채널을 팔로잉 하고 라이브 알림을 받아 보세요."
android:textColor="@color/color_bbbbbb"
android:textSize="10.7sp"
tools:ignore="SmallSp" />
<TextView
android:id="@+id/tv_make_room"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/bg_round_corner_4_7_9970ff"
android:drawablePadding="8.3dp"
android:fontFamily="@font/gmarket_sans_bold"
android:gravity="center"
android:paddingHorizontal="51.7dp"
android:paddingVertical="8.3dp"
android:text="라이브 만들기"
android:textColor="@color/white"
android:textSize="13.3sp"
app:drawableStartCompat="@drawable/ic_plus_no_bg" />
</LinearLayout>
</LinearLayout>