Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ea2efb4 authored by tom hsu's avatar tom hsu
Browse files

[Expressive UI] Fix different hight of title

 - Settings activity and spa activity have different title hight. Remove
   config of spa activity to match settings activity

Flag: EXEMPT bug fix
Fix: b/407908775
Test: visual
Change-Id: I1ef74f44631cd23303a0d3c89b49592fb62f1d2b
parent 6f39c91c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -676,10 +676,10 @@ private suspend fun settleAppBar(
// Medium or Large app bar.
private val TopTitleAlphaEasing = CubicBezierEasing(.8f, 0f, .8f, .15f)

internal val MaxHeightWithoutTitle = if (isSpaExpressiveEnabled) 84.dp else 124.dp
internal val MaxHeightWithoutTitle = 124.dp
internal val DefaultTitleHeight = 52.dp
internal val ContainerHeight = 56.dp
private val titleBaselineHeight = if (isSpaExpressiveEnabled) 8.dp else 0.dp
private val titleBaselineHeight = 0.dp
private val LargeTitleBottomPadding = 28.dp
private val TopAppBarHorizontalPadding = 4.dp