diff --git a/src/android/app/src/main/java/org/citra/citra_emu/adapters/GameAdapter.kt b/src/android/app/src/main/java/org/citra/citra_emu/adapters/GameAdapter.kt index cc0a2b750..fb57c241d 100644 --- a/src/android/app/src/main/java/org/citra/citra_emu/adapters/GameAdapter.kt +++ b/src/android/app/src/main/java/org/citra/citra_emu/adapters/GameAdapter.kt @@ -153,9 +153,15 @@ class GameAdapter(private val activity: AppCompatActivity) : } else { View.VISIBLE } + binding.textGameId.visibility = if (game.titleId == 0L) { + View.GONE + } else { + View.VISIBLE + } binding.textGameTitle.text = game.title binding.textCompany.text = game.company + binding.textGameId.text = String.format("ID: %016X", game.titleId) binding.textFilename.text = game.filename val backgroundColorId = @@ -181,6 +187,9 @@ class GameAdapter(private val activity: AppCompatActivity) : binding.textCompany.ellipsize = TextUtils.TruncateAt.MARQUEE binding.textCompany.isSelected = true + binding.textGameId.ellipsize = TextUtils.TruncateAt.MARQUEE + binding.textGameId.isSelected = true + binding.textFilename.ellipsize = TextUtils.TruncateAt.MARQUEE binding.textFilename.isSelected = true }, diff --git a/src/android/app/src/main/res/layout/card_game.xml b/src/android/app/src/main/res/layout/card_game.xml index 6b20567cf..16f0a8d9a 100644 --- a/src/android/app/src/main/res/layout/card_game.xml +++ b/src/android/app/src/main/res/layout/card_game.xml @@ -22,8 +22,8 @@ @@ -63,6 +63,18 @@ android:requiresFadingEdge="horizontal" tools:text="Nintendo" /> + +