1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-3500 Primitives | Ui fixes (#2199)

This commit is contained in:
Konstantin Ivanov 2025-03-27 20:51:09 +01:00 committed by GitHub
parent 8abc29f526
commit 82ac6e47ec
Signed by: github
GPG key ID: B5690EEEBB952194
35 changed files with 270 additions and 78 deletions

View file

@ -1,5 +1,6 @@
package com.anytypeio.anytype.feature_properties.edit.ui
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
@ -111,6 +112,10 @@ fun PropertyEditScreen(
shape = RoundedCornerShape(size = 10.dp),
containerColor = colorResource(id = R.color.background_primary),
shadowElevation = 5.dp,
border = BorderStroke(
width = 0.5.dp,
color = colorResource(id = R.color.background_secondary)
)
) {
DropdownMenuItem(
modifier = Modifier.height(44.dp),

View file

@ -64,7 +64,8 @@ fun PropertyScreen(
modifier = modifier,
dragHandle = { DragHandle() },
scrimColor = colorResource(id = R.color.modal_screen_outside_background),
containerColor = colorResource(id = R.color.background_primary),
containerColor = colorResource(id = R.color.background_secondary),
contentColor = colorResource(id = R.color.background_secondary),
shape = RoundedCornerShape(topStart = 16.dp, topEnd = 16.dp),
sheetState = bottomSheetState,
onDismissRequest = onDismissRequest,

View file

@ -1,5 +1,6 @@
package com.anytypeio.anytype.feature_properties.edit.ui
import androidx.compose.foundation.BorderStroke
import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
@ -102,6 +103,10 @@ fun PropertyViewScreen(
shape = RoundedCornerShape(size = 10.dp),
containerColor = colorResource(id = R.color.background_primary),
shadowElevation = 5.dp,
border = BorderStroke(
width = 0.5.dp,
color = colorResource(id = R.color.background_secondary)
)
) {
DropdownMenuItem(
modifier = Modifier.height(44.dp),