I'm currently working on an app with a very light design and I don't know how to remove this visible lines / transitions between the action bar an the app content aswell as the transition between content and bottom navigation drawer. Both elements have the same color. The java code for that is
getSupportActionBar().setElevation(0);
but what is the kotlin code?
You can see the lines in the screenshot.
It would be really nice if someone could help me with this problem.
This similar code would work:
getSupportActionBar()?.setElevation(0f)
but AS would propose property access syntax which is used in Kotlin:
supportActionBar?.elevation = 0f