package Ġdev . base io . slack clone . uid ashboard . home Ċ Ċ import Ġandroidx . compose . foundation . layout .* Ċ import Ġandroidx . compose . foundation . remember Scroll State Ċ import Ġandroidx . compose . foundation . vertical Scroll Ċ import Ġandroidx . compose . material . Divider Ċ import Ġandroidx . compose . material . Text Ċ import Ġandroidx . compose . material . icons . Icons Ċ import Ġandroidx . compose . material . icons . filled . Clear Ċ import Ġandroidx . compose . material . icons . filled . Favorite Ċ import Ġandroidx . compose . material . icons . filled . Search Ċ import Ġandroidx . compose . material . icons . filled . Shopping Cart Ċ import Ġandroidx . compose . runtime .* Ċ import Ġandroidx . compose . ui . Modifier Ċ import Ġandroidx . compose . ui . res . string Resource Ċ import Ġandroidx . compose . ui . text . font . Font Weight Ċ import Ġandroidx . compose . ui . unit . dp Ċ import Ġdev . base io . slack clone . common ui . material . Slack Surface AppBar Ċ import Ġdev . base io . slack clone . common ui . reusable . Slack ListItem Ċ import Ġdev . base io . slack clone . common ui . theme . Slack Clone Surface Ċ import Ġdev . base io . slack clone . common ui . theme . Slack Clone Color Provider Ċ import Ġdev . base io . slack clone . common ui . theme . Slack Clone Typography Ċ import Ġdev . base io . slack clone . uid ashboard . R Ċ import Ġdev . base io . slack clone . uid ashboard . home . search . Search Cancel Ċ Ċ @ Composable Ċ fun ĠSearch Messages UI () Ġ{ ĊĠ ĠSlack Clone Surface ( ĊĠĠĠ Ġcolor Ġ= ĠSlack Clone Color Provider . colors . ui Background , ĊĠĠĠ Ġmodifier Ġ= ĠModifier . fill MaxSize () ĊĠ Ġ) Ġ{ ĊĠĠĠ ĠColumn () Ġ{ ĊĠĠĠĠĠ ĠSearch Top AppBar () ĊĠĠĠĠĠ ĠContent () ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ } Ċ Ċ @ Composable Ċ private Ġfun ĠSearch Top AppBar () Ġ{ ĊĠ ĠSlack Surface AppBar ( ĊĠĠĠ ĠbackgroundColor Ġ= ĠSlack Clone Color Provider . colors . app Bar Color , ĊĠĠĠ Ġcontent Padding Ġ= ĠPadding Values ( 8 . dp ) ĊĠ Ġ) Ġ{ ĊĠĠĠ ĠSearch Cancel () ĊĠ Ġ} Ċ Ċ } Ċ Ċ @ Composable Ċ private Ġfun ĠContent () Ġ{ ĊĠ ĠColumn ( Modifier . vertical Scroll ( remember Scroll State ())) Ġ{ ĊĠĠĠ ĠSlack ListItem ( ĊĠĠĠĠĠ Ġicon Ġ= ĠIcons . Default . Shopping Cart , ĊĠĠĠĠĠ Ġtitle Ġ= Ġstring Resource ( R . string . browse _ people ) ĊĠĠĠ Ġ) ĊĠĠĠ ĠSlack ListItem ( icon Ġ= ĠIcons . Default . Search , Ġtitle Ġ= Ġstring Resource ( R . string . browse _ channels )) ĊĠĠĠ ĠSlack List Divider () ĊĠĠĠ Ġ// ĠRecent ĠS ear ches ĊĠĠĠ ĠSearch Text ( string Resource ( R . string . recent _ sear ches )) ĊĠĠĠ Ġrepeat ( 5 ) Ġ{ ĊĠĠĠĠĠ ĠSlack ListItem ( ĊĠĠĠĠĠĠĠ Ġicon Ġ= ĠIcons . Default . Favorite , ĊĠĠĠĠĠĠĠ Ġtitle Ġ= Ġ" in :# android _ ind ia ", ĊĠĠĠĠĠĠĠ Ġtrailing Item Ġ= ĠIcons . Default . Clear ĊĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} ĊĠĠĠ ĠSlack List Divider () ĊĠĠĠ Ġ// ĠN arrow ĠYour ĠSearch ĊĠĠĠ ĠSearch Text ( string Resource ( R . string . narrow _ your _ search )) ĊĠĠĠ Ġrepeat ( 5 ) Ġ{ ĊĠĠĠĠĠ ĠSlack ListItem Trailing View ( ĊĠĠĠĠĠĠĠ Ġicon Ġ= ĠIcons . Default . Favorite , ĊĠĠĠĠĠĠĠ Ġtitle Ġ= Ġ" from :", ĊĠĠĠĠĠĠĠ Ġtrailing View Ġ= Ġ{ ĊĠĠĠĠĠĠĠĠĠ ĠText ( text Ġ= Ġ" Ex : Ġ@ zo em ax well ") ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ } Ċ Ċ @ Composable Ċ private Ġfun ĠSearch Text ( title : ĠString ) Ġ{ ĊĠ ĠText ( ĊĠĠĠ Ġtext Ġ= Ġtitle , ĊĠĠĠ Ġstyle Ġ= ĠSlack Clone Typography . caption . copy ( font Weight Ġ= ĠFontWeight . Sem iB old ), ĊĠĠĠ Ġmodifier Ġ= ĠModifier . padding ( 1 6 . dp ) ĊĠ Ġ) Ċ } Ċ Ċ @ Composable Ċ fun ĠSlack List Divider () Ġ{ ĊĠ ĠDiv ider ( color Ġ= ĠSlack Clone Color Provider . colors . line Color , Ġthickness Ġ= Ġ 0 . 5 . dp ) Ċ } ĊĊ