update
This commit is contained in:
parent
27e07dae05
commit
e74c15571a
@ -197,7 +197,8 @@ fun MyTvMenuWidget(
|
|||||||
verticalArrangement = Arrangement.SpaceBetween,
|
verticalArrangement = Arrangement.SpaceBetween,
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.width(250.dp)
|
.width(250.dp)
|
||||||
.fillMaxHeight(),
|
.fillMaxHeight()
|
||||||
|
.background(androidx.tv.material3.MaterialTheme.colorScheme.background.copy(0.9f)),
|
||||||
) {
|
) {
|
||||||
MyTvMenuItemList(
|
MyTvMenuItemList(
|
||||||
items = groups,
|
items = groups,
|
||||||
@ -238,7 +239,8 @@ fun MyTvMenuWidget(
|
|||||||
onSelected(selectedChannel)
|
onSelected(selectedChannel)
|
||||||
},
|
},
|
||||||
onUserAction = onUserAction,
|
onUserAction = onUserAction,
|
||||||
focusRequester = rightListFocusRequester
|
focusRequester = rightListFocusRequester,
|
||||||
|
modifier = Modifier.background(androidx.tv.material3.MaterialTheme.colorScheme.background.copy(0.8f)),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -153,7 +153,6 @@ fun MyTvMenuItemList(
|
|||||||
verticalArrangement = Arrangement.spacedBy(8.dp),
|
verticalArrangement = Arrangement.spacedBy(8.dp),
|
||||||
modifier = modifier
|
modifier = modifier
|
||||||
.width(250.dp)
|
.width(250.dp)
|
||||||
.background(MaterialTheme.colorScheme.background.copy(0.8f))
|
|
||||||
.focusRequester(focusRequester)
|
.focusRequester(focusRequester)
|
||||||
) {
|
) {
|
||||||
itemsIndexed(items, key = { _, item -> item.hashCode() }) { index, item ->
|
itemsIndexed(items, key = { _, item -> item.hashCode() }) { index, item ->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user