|
|
|
@ -1,15 +1,30 @@
|
|
|
|
|
package org.jetbrains.compose.demo.widgets.ui.screens |
|
|
|
|
|
|
|
|
|
import androidx.compose.foundation.Image |
|
|
|
|
import androidx.compose.foundation.layout.* |
|
|
|
|
import androidx.compose.foundation.layout.Column |
|
|
|
|
import androidx.compose.foundation.layout.Spacer |
|
|
|
|
import androidx.compose.foundation.layout.fillMaxWidth |
|
|
|
|
import androidx.compose.foundation.layout.height |
|
|
|
|
import androidx.compose.foundation.layout.padding |
|
|
|
|
import androidx.compose.foundation.layout.requiredSize |
|
|
|
|
import androidx.compose.foundation.shape.CircleShape |
|
|
|
|
import androidx.compose.material.* |
|
|
|
|
import androidx.compose.material.BottomAppBar |
|
|
|
|
import androidx.compose.material.BottomNavigation |
|
|
|
|
import androidx.compose.material.BottomNavigationItem |
|
|
|
|
import androidx.compose.material.Icon |
|
|
|
|
import androidx.compose.material.IconButton |
|
|
|
|
import androidx.compose.material.MaterialTheme |
|
|
|
|
import androidx.compose.material.Text |
|
|
|
|
import androidx.compose.material.TopAppBar |
|
|
|
|
import androidx.compose.material.icons.Icons |
|
|
|
|
import androidx.compose.material.icons.automirrored.filled.ArrowBack |
|
|
|
|
import androidx.compose.material.icons.automirrored.outlined.ReadMore |
|
|
|
|
import androidx.compose.material.icons.filled.MoreHoriz |
|
|
|
|
import androidx.compose.material.icons.filled.StarBorder |
|
|
|
|
import androidx.compose.material.icons.outlined.* |
|
|
|
|
import androidx.compose.material.icons.outlined.CleanHands |
|
|
|
|
import androidx.compose.material.icons.outlined.Home |
|
|
|
|
import androidx.compose.material.icons.outlined.LibraryMusic |
|
|
|
|
import androidx.compose.material.icons.outlined.Search |
|
|
|
|
import androidx.compose.runtime.Composable |
|
|
|
|
import androidx.compose.runtime.mutableStateOf |
|
|
|
|
import androidx.compose.runtime.remember |
|
|
|
@ -17,14 +32,21 @@ import androidx.compose.ui.Modifier
|
|
|
|
|
import androidx.compose.ui.draw.clip |
|
|
|
|
import androidx.compose.ui.platform.testTag |
|
|
|
|
import androidx.compose.ui.unit.dp |
|
|
|
|
import org.jetbrains.compose.resources.painterResource |
|
|
|
|
import org.jetbrains.compose.demo.widgets.theme.twitterColor |
|
|
|
|
import org.jetbrains.compose.demo.widgets.ui.WidgetsType |
|
|
|
|
import org.jetbrains.compose.demo.widgets.ui.utils.SubtitleText |
|
|
|
|
import org.jetbrains.compose.demo.widgets.ui.utils.TitleText |
|
|
|
|
import org.jetbrains.compose.resources.ExperimentalResourceApi |
|
|
|
|
import org.jetbrains.compose.resources.painterResource |
|
|
|
|
import org.jetbrains.compose.resources.stringResource |
|
|
|
|
import widgets_gallery.shared.generated.resources.Res |
|
|
|
|
import widgets_gallery.shared.generated.resources.ic_instagram |
|
|
|
|
import widgets_gallery.shared.generated.resources.ic_send |
|
|
|
|
import widgets_gallery.shared.generated.resources.ic_twitter |
|
|
|
|
import widgets_gallery.shared.generated.resources.p6 |
|
|
|
|
import widgets_gallery.shared.generated.resources.spotify_nav_home |
|
|
|
|
import widgets_gallery.shared.generated.resources.spotify_nav_library |
|
|
|
|
import widgets_gallery.shared.generated.resources.spotify_nav_search |
|
|
|
|
|
|
|
|
|
@Composable |
|
|
|
|
fun AppBars() { |
|
|
|
|