E
E
Evgeny Nizamiev2014-12-20 21:11:23
Android
Evgeny Nizamiev, 2014-12-20 21:11:23

Why does the content go beyond the ActionBar?

I want to change the look of one application a little. Faced such a problem, the list (and indeed everything) goes beyond the action bar.
Why is this happening? In which direction to dig?
It seems that I looked at a few instructions on how to do it right, and I also looked at StackOverflow - still nothing helps, it feels like there is some kind of small subtlety in this matter that I just can’t catch.
83bec2f5020744fdbaaa714138e92815.jpg

Answer the question

In order to leave comments, you need to log in

4 answer(s)
F
FoxInSox, 2014-12-20
@FoxInSox

The error is somewhere in the code.

M
Max, 2014-12-21
@mbelskiy

Is it Lollipop?
If yes, then you need to set ActionBar-a

<!-- Set AppCompat’s color theming attrs -->
    <item name=”colorPrimary”>@color/my_awesome_red</item>
    <item name=”colorPrimaryDark”>@color/my_awesome_darker_red</item>

V
Vladimir Yakushev, 2014-12-24
@VYakushev

Are you using standard Android features or are you using some third party library? Give an example of an xml file with markup. If you use styles and theme customization, then you should also look.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question