Skip to content

Instantly share code, notes, and snippets.

@Pluu
Pluu / ColorPicker.kt
Created March 30, 2024 00:51 — forked from KlassenKonstantin/ColorPicker.kt
Color Picker
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
WindowCompat.setDecorFitsSystemWindows(window, false)
super.onCreate(savedInstanceState)
setContent {
ColorPickerTheme {
Surface(
modifier = Modifier.fillMaxSize(),
color = MaterialTheme.colorScheme.background
) {
///////////////////////////////////////////////////////////////////////////
// Row style BasicText
///////////////////////////////////////////////////////////////////////////
@Composable
fun BulletTextRow(
text: String,
modifier: Modifier = Modifier,
style: TextStyle = LocalTextStyle.current,
bulletRadius: Dp = 2.dp,
bulletSpace: Dp = bulletRadius * 2,