CopyPastor

Detecting plagiarism made easy.

Score: 1.8273851075311647; Reported for: String similarity, Exact paragraph match Open both answers

Possible Plagiarism

Reposted on 2023-10-24
by Hesham Fas

Original Post

Original - Posted on 2023-10-24
by Hesham Fas



            
Present in both answers; Present only in the new answer; Present only in the old answer;

this will add an elevation effect to your app bar
TopAppBar(modifier = Modifier .padding(10.dp) .shadow( elevation = elevation, spotColor = Color.DarkGray, shape = RoundedCornerShape(10.dp) ))
[![top appbar with elevation][1]][1]

[1]: https://i.stack.imgur.com/D9SOL.png

this works very well for me:
TopAppBar(modifier = Modifier .padding(10.dp) .shadow( elevation = elevation, spotColor = Color.DarkGray, shape = RoundedCornerShape(10.dp) ))
[![top appbar with elevation and rounded corners][1]][1]

[1]: https://i.stack.imgur.com/CDegH.png

        
Present in both answers; Present only in the new answer; Present only in the old answer;