diff --git a/app/src/main/assets/web/index.html b/app/src/main/assets/web/index.html index d12a2eb..f719828 100644 --- a/app/src/main/assets/web/index.html +++ b/app/src/main/assets/web/index.html @@ -20,10 +20,14 @@
-
+
+
+
- +
+ +
Station
diff --git a/app/src/main/assets/web/script.js b/app/src/main/assets/web/script.js index fa77e68..72a6b24 100644 --- a/app/src/main/assets/web/script.js +++ b/app/src/main/assets/web/script.js @@ -38,6 +38,17 @@ async function loadTranslations() { } } +function checkOverflow(el) { + if (!el) return; + el.classList.remove('animate-marquee'); + setTimeout(() => { + const container = el.parentElement; + if (container && el.scrollWidth > container.offsetWidth) { + el.classList.add('animate-marquee'); + } + }, 50); +} + function updateStatusUI(data) { if (!data) return; lastStatusData = data; @@ -56,6 +67,7 @@ function updateStatusUI(data) { if (data.error) { statusEl.innerText = t('status_error'); currentNameEl.innerText = data.error; + checkOverflow(currentNameEl); return; } @@ -77,8 +89,12 @@ function updateStatusUI(data) { const station = allStations.find(s => s.uuid === stationUuid); if (station) { currentNameEl.innerText = station.name; + checkOverflow(currentNameEl); if (currentStarEl) currentStarEl.classList.toggle('hidden', !data.starred); - if (currentMetadataEl) currentMetadataEl.innerText = data.metadata || ""; + if (currentMetadataEl) { + currentMetadataEl.innerText = data.metadata || ""; + checkOverflow(currentMetadataEl); + } if (currentImageEl) { let imageUrl = station.hasImage ? '/api/image/' + station.uuid : 'favicon.png'; if (station.hasImage && authToken) { @@ -99,8 +115,12 @@ function updateStatusUI(data) { } else { currentNameEl.innerText = t('status_loading'); } + checkOverflow(currentNameEl); if (currentStarEl) currentStarEl.classList.add('hidden'); - if (currentMetadataEl) currentMetadataEl.innerText = ""; + if (currentMetadataEl) { + currentMetadataEl.innerText = ""; + checkOverflow(currentMetadataEl); + } if (currentImageEl) currentImageEl.src = 'favicon.png'; } @@ -338,6 +358,11 @@ window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', e = } }); +window.onresize = () => { + checkOverflow(document.getElementById('currentName')); + checkOverflow(document.getElementById('currentMetadata')); +}; + const themeSelect = document.getElementById('themeSelect'); themeSelect.onchange = () => { const val = themeSelect.value; diff --git a/app/src/main/assets/web/style.css b/app/src/main/assets/web/style.css index 499e2d8..7d30e62 100644 --- a/app/src/main/assets/web/style.css +++ b/app/src/main/assets/web/style.css @@ -93,6 +93,7 @@ body.light-theme .current-station-info { align-items: center; gap: 8px; margin-bottom: 4px; + overflow: hidden; } .current-name { @@ -100,21 +101,40 @@ body.light-theme .current-station-info { font-weight: 800; color: var(--accent-color); text-shadow: var(--accent-glow); - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; } .current-metadata { font-size: 0.95rem; font-weight: 500; opacity: 0.6; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; color: var(--text-color); } +/* Marquee Styles */ +.marquee-container { + overflow: hidden; + white-space: nowrap; + flex: 1; + position: relative; +} + +.marquee-content { + display: inline-block; + white-space: nowrap; + min-width: 100%; +} + +@media (max-width: 600px) { + .animate-marquee { + animation: marquee 15s linear infinite; + } +} + +@keyframes marquee { + 0% { transform: translateX(100%); } + 100% { transform: translateX(-100%); } +} + .current-img { width: 64px; height: 64px; diff --git a/app/src/main/java/com/michatec/radio/ExpandedControllerActivity.kt b/app/src/main/java/com/michatec/radio/ExpandedControllerActivity.kt index b7ad25b..dd3c2a9 100644 --- a/app/src/main/java/com/michatec/radio/ExpandedControllerActivity.kt +++ b/app/src/main/java/com/michatec/radio/ExpandedControllerActivity.kt @@ -3,9 +3,12 @@ package com.michatec.radio import android.content.Context import android.content.res.Configuration import android.view.Menu +import androidx.core.view.MenuItemCompat +import androidx.mediarouter.app.MediaRouteActionProvider import com.google.android.gms.cast.framework.CastButtonFactory import com.google.android.gms.cast.framework.media.widget.ExpandedControllerActivity import com.michatec.radio.helpers.PreferencesHelper +import com.michatec.radio.ui.CustomCastDialogFactory import java.util.Locale class ExpandedControllerActivity : ExpandedControllerActivity() { @@ -27,6 +30,11 @@ class ExpandedControllerActivity : ExpandedControllerActivity() { super.onCreateOptionsMenu(menu) menuInflater.inflate(R.menu.expanded_controller, menu) CastButtonFactory.setUpMediaRouteButton(this, menu, R.id.media_route_menu_item) + + val item = menu.findItem(R.id.media_route_menu_item) + val actionProvider = MenuItemCompat.getActionProvider(item) as? MediaRouteActionProvider + actionProvider?.dialogFactory = CustomCastDialogFactory() + return true } diff --git a/app/src/main/java/com/michatec/radio/PlayerService.kt b/app/src/main/java/com/michatec/radio/PlayerService.kt index 381bb64..d7ab44e 100644 --- a/app/src/main/java/com/michatec/radio/PlayerService.kt +++ b/app/src/main/java/com/michatec/radio/PlayerService.kt @@ -7,6 +7,8 @@ import android.media.audiofx.AudioEffect import android.os.Build import android.os.Bundle import android.os.CountDownTimer +import android.os.Handler +import android.os.Looper import android.util.Log import androidx.localbroadcastmanager.content.LocalBroadcastManager import androidx.media3.cast.CastPlayer @@ -142,15 +144,23 @@ class PlayerService : MediaLibraryService(), SharedPreferences.OnSharedPreferenc /* Overrides onDestroy from Service */ override fun onDestroy() { - // Reset playing state in preferences - PreferencesHelper.saveIsPlaying(false) - player.removeListener(playerListener) - player.release() - exoPlayer.release() - castPlayer.release() - mediaLibrarySession.release() // unregister preference change listener PreferencesHelper.unregisterPreferenceChangeListener(this) + + if (this::player.isInitialized) { + player.removeListener(playerListener) + player.release() + } + if (this::exoPlayer.isInitialized) { + exoPlayer.removeListener(playerListener) + exoPlayer.release() + } + if (this::mediaLibrarySession.isInitialized) { + mediaLibrarySession.release() + } + + // Reset playing state in preferences + PreferencesHelper.saveIsPlaying(false) super.onDestroy() } @@ -206,12 +216,6 @@ class PlayerService : MediaLibraryService(), SharedPreferences.OnSharedPreferenc ) }.build() - if (PreferencesHelper.hasArgument("008f0747f4e27c8462baa991a538025bcc2dd143e78422f1afbdfcd9e757a20f")) { - exoPlayer.volume = 0f - player.volume = 0f - castPlayer.volume = 0f - } - exoPlayer.addAnalyticsListener(analyticsListener) exoPlayer.addListener(playerListener) @@ -243,6 +247,10 @@ class PlayerService : MediaLibraryService(), SharedPreferences.OnSharedPreferenc } } player.addListener(playerListener) + + if (PreferencesHelper.hasArgument("008f0747f4e27c8462baa991a538025bcc2dd143e78422f1afbdfcd9e757a20f")) { + player.volume = 0f + } } @@ -323,6 +331,8 @@ class PlayerService : MediaLibraryService(), SharedPreferences.OnSharedPreferenc /* Updates metadata */ private fun updateMetadata(metadata: String = String()) { + if (!this::player.isInitialized) return + // get metadata string val metadataString: String = metadata.ifEmpty { player.currentMediaItem?.mediaMetadata?.artist.toString() @@ -416,14 +426,12 @@ class PlayerService : MediaLibraryService(), SharedPreferences.OnSharedPreferenc applyAudioEffects() } Keys.PREF_ARGUMENTS -> { - if (PreferencesHelper.hasArgument("008f0747f4e27c8462baa991a538025bcc2dd143e78422f1afbdfcd9e757a20f")) { - exoPlayer.volume = 0f - player.volume = 0f - castPlayer.volume = 0f - } else { - exoPlayer.volume = 1f - player.volume = 1f - castPlayer.volume = 1f + if (this::player.isInitialized) { + if (PreferencesHelper.hasArgument("008f0747f4e27c8462baa991a538025bcc2dd143e78422f1afbdfcd9e757a20f")) { + player.volume = 0f + } else { + player.volume = 1f + } } } Keys.PREF_REMOTE_CONTROL_ENABLED -> { @@ -679,6 +687,7 @@ class PlayerService : MediaLibraryService(), SharedPreferences.OnSharedPreferenc override fun onIsPlayingChanged(isPlaying: Boolean) { super.onIsPlayingChanged(isPlaying) + if (!this@PlayerService::player.isInitialized) return // store state of playback val currentMediaId: String = player.currentMediaItem?.mediaId ?: String() PreferencesHelper.saveIsPlaying(isPlaying) @@ -720,6 +729,22 @@ class PlayerService : MediaLibraryService(), SharedPreferences.OnSharedPreferenc } } + override fun onDeviceInfoChanged(deviceInfo: DeviceInfo) { + super.onDeviceInfoChanged(deviceInfo) + val isPlaying = PreferencesHelper.loadPlayerState().isPlaying + Log.d(TAG, "onDeviceInfoChanged: playbackType=${deviceInfo.playbackType}, playWhenReady=${player.playWhenReady}, exoPlayWhenReady=${exoPlayer.playWhenReady}, prefIsPlaying=$isPlaying") + if (deviceInfo.playbackType == DeviceInfo.PLAYBACK_TYPE_REMOTE) { + if (exoPlayer.playWhenReady || player.playWhenReady || isPlaying) { + Log.i(TAG, "Ensuring remote playback starts.") + Handler(Looper.getMainLooper()).postDelayed({ + player.playWhenReady = true + player.prepare() + player.play() + }, 500) + } + } + } + override fun onPlayerError(error: PlaybackException) { super.onPlayerError(error) Log.d(TAG, "PlayerError occurred: ${error.errorCodeName}") @@ -735,6 +760,11 @@ class PlayerService : MediaLibraryService(), SharedPreferences.OnSharedPreferenc updateMetadata(AudioHelper.getMetadataString(metadata)) } + override fun onMediaMetadataChanged(mediaMetadata: MediaMetadata) { + super.onMediaMetadataChanged(mediaMetadata) + updateMetadata() + } + } diff --git a/app/src/main/java/com/michatec/radio/helpers/CollectionHelper.kt b/app/src/main/java/com/michatec/radio/helpers/CollectionHelper.kt index c21842e..1d25248 100644 --- a/app/src/main/java/com/michatec/radio/helpers/CollectionHelper.kt +++ b/app/src/main/java/com/michatec/radio/helpers/CollectionHelper.kt @@ -644,6 +644,8 @@ object CollectionHelper { val mediaMetadata = MediaMetadata.Builder().apply { setTitle(station.name) setArtist(station.name) + setAlbumArtist(station.name) + setDisplayTitle(station.name) // Set artwork URI for casting (remote devices need a public URL) if (station.remoteImageLocation.isNotEmpty()) { diff --git a/app/src/main/java/com/michatec/radio/helpers/PreferencesHelper.kt b/app/src/main/java/com/michatec/radio/helpers/PreferencesHelper.kt index 71eb0cd..b7e9599 100644 --- a/app/src/main/java/com/michatec/radio/helpers/PreferencesHelper.kt +++ b/app/src/main/java/com/michatec/radio/helpers/PreferencesHelper.kt @@ -411,13 +411,6 @@ object PreferencesHelper { return sharedPreferences.getBoolean(Keys.PREF_REMOTE_CONTROL_ENABLED, false) } - /* Saves whether remote control is enabled */ - fun saveRemoteControlEnabled(enabled: Boolean) { - sharedPreferences.edit { - putBoolean(Keys.PREF_REMOTE_CONTROL_ENABLED, enabled) - } - } - /* Loads whether remote control authentication is enabled */ fun loadRemoteControlAuthEnabled(): Boolean { return sharedPreferences.getBoolean(Keys.PREF_REMOTE_CONTROL_AUTH_ENABLED, false) diff --git a/app/src/main/java/com/michatec/radio/ui/CustomCastChooserDialogFragment.kt b/app/src/main/java/com/michatec/radio/ui/CustomCastChooserDialogFragment.kt new file mode 100644 index 0000000..77f7db2 --- /dev/null +++ b/app/src/main/java/com/michatec/radio/ui/CustomCastChooserDialogFragment.kt @@ -0,0 +1,157 @@ +package com.michatec.radio.ui + +import android.app.Dialog +import android.os.Bundle +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import android.widget.TextView +import androidx.core.view.isVisible +import androidx.mediarouter.app.MediaRouteChooserDialogFragment +import androidx.mediarouter.media.MediaControlIntent +import androidx.mediarouter.media.MediaRouteSelector +import androidx.mediarouter.media.MediaRouter +import androidx.recyclerview.widget.DiffUtil +import androidx.recyclerview.widget.LinearLayoutManager +import androidx.recyclerview.widget.ListAdapter +import androidx.recyclerview.widget.RecyclerView +import com.google.android.material.dialog.MaterialAlertDialogBuilder +import com.michatec.radio.R + +/** + * A custom DialogFragment that replaces the default Google Cast device selection dialog. + */ +class CustomCastChooserDialogFragment : MediaRouteChooserDialogFragment() { + + private lateinit var router: MediaRouter + private lateinit var selector: MediaRouteSelector + private var adapter: CastDeviceAdapter? = null + private var recyclerView: RecyclerView? = null + private var noDevicesText: TextView? = null + + private val callback = object : MediaRouter.Callback() { + override fun onRouteAdded(router: MediaRouter, route: MediaRouter.RouteInfo) { + updateRouteList() + } + + override fun onRouteRemoved(router: MediaRouter, route: MediaRouter.RouteInfo) { + updateRouteList() + } + + override fun onRouteChanged(router: MediaRouter, route: MediaRouter.RouteInfo) { + updateRouteList() + } + } + + /** + * Data class to hold route information safely for background diffing. + * MediaRouter.RouteInfo must only be accessed on the main thread. + */ + private data class RouteItem( + val id: String, + val name: String, + val description: String?, + val isSelected: Boolean, + val originalRoute: MediaRouter.RouteInfo + ) + + override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { + val context = requireContext() + router = MediaRouter.getInstance(context) + + selector = MediaRouteSelector.Builder() + .addControlCategory(MediaControlIntent.CATEGORY_REMOTE_PLAYBACK) + .build() + + val view = LayoutInflater.from(context).inflate(R.layout.dialog_cast_chooser, null) + recyclerView = view.findViewById(R.id.recyclerViewDevices) + noDevicesText = view.findViewById(R.id.textViewNoDevices) + + recyclerView?.layoutManager = LinearLayoutManager(context) + adapter = CastDeviceAdapter { routeItem -> + routeItem.originalRoute.select() + dismiss() + } + recyclerView?.adapter = adapter + + updateRouteList() + + return MaterialAlertDialogBuilder(context) + .setView(view) + .create() + } + + override fun onStart() { + super.onStart() + router.addCallback(selector, callback, MediaRouter.CALLBACK_FLAG_REQUEST_DISCOVERY) + } + + override fun onStop() { + router.removeCallback(callback) + super.onStop() + } + + private fun updateRouteList() { + val routes = router.routes + .filter { it.matchesSelector(selector) && !it.isDefault } + .map { route -> + RouteItem( + id = route.id, + name = route.name, + description = route.description, + isSelected = route.isSelected, + originalRoute = route + ) + } + + adapter?.submitList(routes) + + val hasDevices = routes.isNotEmpty() + recyclerView?.isVisible = hasDevices + noDevicesText?.isVisible = !hasDevices + } + + /** + * Inner adapter for the Cast device list + */ + private class CastDeviceAdapter(private val onRouteSelected: (RouteItem) -> Unit) : + ListAdapter(RouteDiffCallback()) { + + override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ViewHolder { + val view = LayoutInflater.from(parent.context).inflate(R.layout.item_cast_device, parent, false) + return ViewHolder(view) + } + + override fun onBindViewHolder(holder: ViewHolder, position: Int) { + val item = getItem(position) + holder.nameText.text = item.name + + val description = item.description + if (!description.isNullOrEmpty()) { + holder.descriptionText.text = description + holder.descriptionText.isVisible = true + } else { + holder.descriptionText.isVisible = false + } + + holder.itemView.setOnClickListener { onRouteSelected(item) } + } + + class ViewHolder(view: View) : RecyclerView.ViewHolder(view) { + val nameText: TextView = view.findViewById(R.id.textViewName) + val descriptionText: TextView = view.findViewById(R.id.textViewDescription) + } + + private class RouteDiffCallback : DiffUtil.ItemCallback() { + override fun areItemsTheSame(oldItem: RouteItem, newItem: RouteItem): Boolean { + return oldItem.id == newItem.id + } + + override fun areContentsTheSame(oldItem: RouteItem, newItem: RouteItem): Boolean { + return oldItem.name == newItem.name && + oldItem.description == newItem.description && + oldItem.isSelected == newItem.isSelected + } + } + } +} \ No newline at end of file diff --git a/app/src/main/java/com/michatec/radio/ui/CustomCastControllerDialogFragment.kt b/app/src/main/java/com/michatec/radio/ui/CustomCastControllerDialogFragment.kt new file mode 100644 index 0000000..1e40682 --- /dev/null +++ b/app/src/main/java/com/michatec/radio/ui/CustomCastControllerDialogFragment.kt @@ -0,0 +1,45 @@ +package com.michatec.radio.ui + +import android.app.Dialog +import android.os.Bundle +import android.view.LayoutInflater +import android.widget.TextView +import androidx.mediarouter.app.MediaRouteControllerDialogFragment +import com.google.android.gms.cast.framework.CastContext +import com.google.android.material.button.MaterialButton +import com.google.android.material.dialog.MaterialAlertDialogBuilder +import com.michatec.radio.R + +/** + * A custom DialogFragment that replaces the default Google Cast controller dialog. + * It is shown when a Cast session is already active. + */ +class CustomCastControllerDialogFragment : MediaRouteControllerDialogFragment() { + + override fun onCreateDialog(savedInstanceState: Bundle?): Dialog { + val context = requireContext() + + val view = LayoutInflater.from(context).inflate(R.layout.dialog_cast_connected, null) + + val castContext = CastContext.getSharedInstance(context) + val castSession = castContext.sessionManager.currentCastSession + val deviceName = castSession?.castDevice?.friendlyName ?: context.getString(R.string.media_route_menu_title) + + view.findViewById(R.id.textViewDeviceName).text = deviceName + + val dialog = MaterialAlertDialogBuilder(context) + .setView(view) + .create() + + view.findViewById(R.id.buttonStopCasting).setOnClickListener { + castContext.sessionManager.endCurrentSession(true) + dialog.dismiss() + } + + view.findViewById(R.id.buttonCancel).setOnClickListener { + dialog.dismiss() + } + + return dialog + } +} \ No newline at end of file diff --git a/app/src/main/java/com/michatec/radio/ui/CustomCastDialogFactory.kt b/app/src/main/java/com/michatec/radio/ui/CustomCastDialogFactory.kt new file mode 100644 index 0000000..eab7eb2 --- /dev/null +++ b/app/src/main/java/com/michatec/radio/ui/CustomCastDialogFactory.kt @@ -0,0 +1,20 @@ +package com.michatec.radio.ui + +import androidx.mediarouter.app.MediaRouteChooserDialogFragment +import androidx.mediarouter.app.MediaRouteControllerDialogFragment +import androidx.mediarouter.app.MediaRouteDialogFactory + +/** + * A custom MediaRouteDialogFactory that tells the MediaRouteButton to use + * our custom chooser and controller dialogs. + */ +class CustomCastDialogFactory : MediaRouteDialogFactory() { + + override fun onCreateChooserDialogFragment(): MediaRouteChooserDialogFragment { + return CustomCastChooserDialogFragment() + } + + override fun onCreateControllerDialogFragment(): MediaRouteControllerDialogFragment { + return CustomCastControllerDialogFragment() + } +} \ No newline at end of file diff --git a/app/src/main/java/com/michatec/radio/ui/LayoutHolder.kt b/app/src/main/java/com/michatec/radio/ui/LayoutHolder.kt index f3a05bf..7369e8d 100644 --- a/app/src/main/java/com/michatec/radio/ui/LayoutHolder.kt +++ b/app/src/main/java/com/michatec/radio/ui/LayoutHolder.kt @@ -134,6 +134,7 @@ class LayoutHolder(binding: FragmentPlayerBinding) { // Set up MediaRouteButton (Google Cast) mediaRouteButton?.let { CastButtonFactory.setUpMediaRouteButton(rootView.context, it) + it.dialogFactory = CustomCastDialogFactory() } // Apply custom theme color diff --git a/app/src/main/res/drawable/ic_cast_24dp.xml b/app/src/main/res/drawable/ic_cast_24dp.xml new file mode 100644 index 0000000..fd35a13 --- /dev/null +++ b/app/src/main/res/drawable/ic_cast_24dp.xml @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/app/src/main/res/layout/dialog_cast_chooser.xml b/app/src/main/res/layout/dialog_cast_chooser.xml new file mode 100644 index 0000000..0b39180 --- /dev/null +++ b/app/src/main/res/layout/dialog_cast_chooser.xml @@ -0,0 +1,30 @@ + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/dialog_cast_connected.xml b/app/src/main/res/layout/dialog_cast_connected.xml new file mode 100644 index 0000000..4327861 --- /dev/null +++ b/app/src/main/res/layout/dialog_cast_connected.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/item_cast_device.xml b/app/src/main/res/layout/item_cast_device.xml new file mode 100644 index 0000000..4c3ec83 --- /dev/null +++ b/app/src/main/res/layout/item_cast_device.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values-da/strings.xml b/app/src/main/res/values-da/strings.xml index 8b6b3b3..91264b2 100644 --- a/app/src/main/res/values-da/strings.xml +++ b/app/src/main/res/values-da/strings.xml @@ -36,6 +36,14 @@ Ja Fjern Opdater + + + Forbundet med + Stop afspilning + Annuller + Cast til + Ingen enheder fundet + Indstillinger diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index c00addf..b2f9dd8 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -37,6 +37,14 @@ Ja Entfernen Aktualisieren + + + Verbunden mit + Streaming beenden + Abbrechen + Streamen auf + Keine Geräte gefunden + Einstellungen diff --git a/app/src/main/res/values-el/strings.xml b/app/src/main/res/values-el/strings.xml index 786128e..03e7f81 100644 --- a/app/src/main/res/values-el/strings.xml +++ b/app/src/main/res/values-el/strings.xml @@ -36,6 +36,14 @@ Ναι Αφαίρεση Ενημέρωση + + + Συνδεδεμένο με + Διακοπή μετάδοσης + Ακύρωση + Μετάδοση σε + Δεν βρέθηκαν συσκευές + Ρυθμίσεις diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index c4d8552..3a5786a 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -36,6 +36,14 @@ Oui Supprimer Mettre à jour + + + Connecté à + Arrêter la diffusion + Annuler + Diffuser sur + Aucun appareil trouvé + Paramètres diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 36baf0a..c498271 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -36,6 +36,14 @@ はい 削除 更新 + + + 接続先: + キャストを停止 + キャンセル + キャスト先 + デバイスが見つかりません + 設定 diff --git a/app/src/main/res/values-night/styles.xml b/app/src/main/res/values-night/styles.xml index fc7f199..488f5a6 100644 --- a/app/src/main/res/values-night/styles.xml +++ b/app/src/main/res/values-night/styles.xml @@ -28,7 +28,8 @@ @android:color/transparent - -