Backtalk 0.4.1 - redistribution notices Original developer: kys0ff Source: https://github.com/kys0ff/Backtalk Project license declared by F-Droid: MIT Corresponding source: backtalk-0.4.1-source.tar.gz APK redistributed without modification. Store media is normalized without cropping. FILE: off.kys.backtalk_41_src.tar.gz/LICENSE MIT License Copyright (c) 2026 kys0ff Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. FILE: off.kys.backtalk_41_src.tar.gz/app/src/main/java/off/kys/backtalk/presentation/screen/license/LicenseScreen.kt package off.kys.backtalk.presentation.screen.license import androidx.compose.runtime.Composable import androidx.compose.ui.tooling.preview.Preview import cafe.adriel.voyager.core.screen.Screen import off.kys.backtalk.presentation.components.SplitThemeContainer import off.kys.backtalk.presentation.screen.license.components.LicenseContent class LicenseScreen : Screen { @Composable override fun Content() { LicenseContent() } } @Preview( showSystemUi = true, device = "id:pixel_10", ) @Composable private fun LicenseContentPreview() { SplitThemeContainer { LicenseContent() } } FILE: off.kys.backtalk_41_src.tar.gz/app/src/main/java/off/kys/backtalk/presentation/screen/license/components/LicenseCard.kt package off.kys.backtalk.presentation.screen.license.components import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.size import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.material3.Icon import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Surface import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.draw.clip import androidx.compose.ui.res.painterResource import androidx.compose.ui.text.font.FontWeight import androidx.compose.ui.unit.dp import off.kys.backtalk.R import off.kys.backtalk.domain.model.LibraryInfo @Composable fun LicenseCard(library: LibraryInfo) { Surface( color = MaterialTheme.colorScheme.surfaceContainerLow, shape = RoundedCornerShape(24.dp), modifier = Modifier.fillMaxWidth() ) { Row( modifier = Modifier .padding(20.dp) .fillMaxWidth(), verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.spacedBy(16.dp) ) { Box( modifier = Modifier .size(48.dp) .clip(androidx.compose.foundation.shape.RoundedCornerShape(16.dp)) .background(MaterialTheme.colorScheme.primaryContainer), contentAlignment = Alignment.Center ) { Icon( painter = painterResource(R.drawable.round_code_24), contentDescription = null, tint = MaterialTheme.colorScheme.onPrimaryContainer, modifier = Modifier.size(24.dp) ) } Column(modifier = Modifier.weight(1f)) { Text( text = library.name, style = MaterialTheme.typography.titleMedium, color = MaterialTheme.colorScheme.onSurface ) Spacer(modifier = Modifier.height(4.dp)) Surface( color = MaterialTheme.colorScheme.secondaryContainer.copy(alpha = 0.5f), shape = androidx.compose.foundation.shape.RoundedCornerShape(8.dp) ) { Text( text = library.license, modifier = Modifier.padding( horizontal = 8.dp, vertical = 2.dp ), style = MaterialTheme.typography.labelSmall, color = MaterialTheme.colorScheme.onSecondaryContainer ) } } Text( text = "v${library.version}", style = MaterialTheme.typography.bodySmall, color = MaterialTheme.colorScheme.outline, fontWeight = FontWeight.Medium ) } } } FILE: off.kys.backtalk_41_src.tar.gz/app/src/main/java/off/kys/backtalk/presentation/screen/license/components/LicenseContent.kt package off.kys.backtalk.presentation.screen.license.components import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.PaddingValues import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.padding import androidx.compose.foundation.lazy.LazyColumn import androidx.compose.foundation.lazy.items import androidx.compose.material3.ExperimentalMaterial3Api import androidx.compose.material3.Icon import androidx.compose.material3.IconButton import androidx.compose.material3.LargeTopAppBar import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Scaffold import androidx.compose.material3.Text import androidx.compose.material3.TopAppBarDefaults import androidx.compose.runtime.Composable import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color import androidx.compose.ui.input.nestedscroll.nestedScroll import androidx.compose.ui.res.painterResource import androidx.compose.ui.res.stringResource import androidx.compose.ui.unit.dp import cafe.adriel.voyager.navigator.LocalNavigator import off.kys.backtalk.R import off.kys.backtalk.data.util.LibraryProvider import off.kys.backtalk.presentation.components.HintTooltip @OptIn(ExperimentalMaterial3Api::class) @Composable fun LicenseContent() { val navigator = LocalNavigator.current val scrollBehavior = TopAppBarDefaults.exitUntilCollapsedScrollBehavior() Scaffold( modifier = Modifier.nestedScroll(scrollBehavior.nestedScrollConnection), topBar = { LargeTopAppBar( title = { Text(text = stringResource(R.string.settings_license)) }, navigationIcon = { HintTooltip(stringResource(R.string.common_back)) { IconButton(onClick = { navigator?.pop() }) { Icon( painter = painterResource(R.drawable.round_arrow_back_24), contentDescription = stringResource(R.string.common_back) ) } } }, colors = TopAppBarDefaults.topAppBarColors( containerColor = MaterialTheme.colorScheme.surface, scrolledContainerColor = MaterialTheme.colorScheme.surfaceContainer, navigationIconContentColor = Color.Unspecified, titleContentColor = Color.Unspecified, actionIconContentColor = Color.Unspecified ), scrollBehavior = scrollBehavior ) } ) { paddingValues -> LazyColumn( modifier = Modifier .fillMaxSize() .background(MaterialTheme.colorScheme.surface), contentPadding = PaddingValues( top = paddingValues.calculateTopPadding() + 16.dp, bottom = 16.dp, start = 16.dp, end = 16.dp ), verticalArrangement = Arrangement.spacedBy(12.dp) ) { items(LibraryProvider.libraries) { library -> LicenseCard(library) } item { Spacer(modifier = Modifier.padding(8.dp)) } } } }