Заголовок для BottomSheet с сортировкой
This commit is contained in:
parent
95e849e27a
commit
12db4ba8df
2 changed files with 12 additions and 0 deletions
|
@ -180,6 +180,17 @@ fun SensorsPage(navController: NavController) {
|
||||||
|
|
||||||
if (sortingShow) {
|
if (sortingShow) {
|
||||||
ModalBottomSheet(onDismissRequest = { sortingShow = false }) {
|
ModalBottomSheet(onDismissRequest = { sortingShow = false }) {
|
||||||
|
Row(
|
||||||
|
horizontalArrangement = Arrangement.Center,
|
||||||
|
modifier = Modifier.fillMaxWidth(),
|
||||||
|
) {
|
||||||
|
Text(
|
||||||
|
text = stringResource(R.string.sensors_sort_title),
|
||||||
|
fontSize = 24.sp,
|
||||||
|
fontWeight = FontWeight(500),
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
LazyColumn(
|
LazyColumn(
|
||||||
modifier = Modifier.padding(horizontal = 4.dp),
|
modifier = Modifier.padding(horizontal = 4.dp),
|
||||||
) {
|
) {
|
||||||
|
|
|
@ -51,4 +51,5 @@
|
||||||
<string name="sort_option_desc">По убыванию</string>
|
<string name="sort_option_desc">По убыванию</string>
|
||||||
<string name="sort_option_fav">Избранные сверху</string>
|
<string name="sort_option_fav">Избранные сверху</string>
|
||||||
<string name="sort_option_mine">Мои датчики сверху</string>
|
<string name="sort_option_mine">Мои датчики сверху</string>
|
||||||
|
<string name="sensors_sort_title">Сортировка</string>
|
||||||
</resources>
|
</resources>
|
Loading…
Add table
Reference in a new issue