Add buttons to create and invite
This commit is contained in:
parent
cb15fe6d1e
commit
e6c7afd614
4 changed files with 80 additions and 0 deletions
|
|
@ -19,8 +19,10 @@ package io.element.android.features.createroom.root
|
|||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.fillMaxWidth
|
||||
import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.foundation.layout.size
|
||||
import androidx.compose.material3.ExperimentalMaterial3Api
|
||||
import androidx.compose.material3.SearchBarDefaults
|
||||
import androidx.compose.material3.TextButton
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.MutableState
|
||||
import androidx.compose.runtime.getValue
|
||||
|
|
@ -73,6 +75,31 @@ fun CreateRoomRootScreen(
|
|||
placeHolderTitle = stringResource(StringR.string.search_for_someone),
|
||||
active = isSearchActive,
|
||||
)
|
||||
|
||||
TextButton(
|
||||
modifier = Modifier.padding(start = 8.dp, top = 16.dp, end = 8.dp),
|
||||
onClick = { }) {
|
||||
Icon(
|
||||
modifier = Modifier
|
||||
.padding(end = 16.dp),
|
||||
resourceId = DrawableR.drawable.ic_group, // TODO ask design for squared icon
|
||||
contentDescription = ""
|
||||
)
|
||||
Text(text = stringResource(id = StringR.string.new_room))
|
||||
}
|
||||
|
||||
TextButton(
|
||||
modifier = Modifier.padding(horizontal = 8.dp),
|
||||
onClick = { }
|
||||
) {
|
||||
Icon(
|
||||
modifier = Modifier
|
||||
.padding(end = 16.dp),
|
||||
resourceId = DrawableR.drawable.ic_share,
|
||||
contentDescription = ""
|
||||
)
|
||||
Text(text = stringResource(id = StringR.string.invite_people_menu))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue