package Ġcom . the apache 6 4 . compose animation playground . ui . screen . animation . animated visibility Ċ Ċ import Ġandroidx . compose . animation . Animated Visibility Ċ import Ġandroidx . compose . animation . core . t ween Ċ import Ġandroidx . compose . animation . expand H orizontally Ċ import Ġandroidx . compose . animation . shrink H orizontally Ċ import Ġandroidx . compose . runtime . Composable Ċ import Ġandroidx . compose . ui . Alignment Ċ import Ġcom . the apache 6 4 . compose animation playground . ui . comp osable . Tes la Logo Ċ import Ġcom . the apache 6 4 . compose animation playground . ui . screen . animation . DURATION ĊĊ Ċ @ Composable Ċ fun ĠExpand Shrink H orizontally Demo ( isVisible : ĠBoolean ) Ġ{ ĊĠĠĠ ĠAnimated Visibility ( ĊĠĠĠĠĠĠĠ Ġvisible Ġ= Ġis Visible , ĊĠĠĠĠĠĠĠ Ġenter Ġ= Ġexpand H orizontally ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġexpand From Ġ= ĠAlignment . Start , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġanimation Spec Ġ= Ġt ween ( DURATION ) ĊĠĠĠĠĠĠĠ Ġ), ĊĠĠĠĠĠĠĠ Ġexit Ġ= Ġshrink H orizontally ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġshrink Tow ards Ġ= ĠAlignment . Start , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġanimation Spec Ġ= Ġt ween ( DURATION ) ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ) Ġ{ ĊĠĠĠĠĠĠĠ ĠTes la Logo () ĊĠĠĠ Ġ} Ċ }