On Fri, Jan 29, 2016 at 10:53 AM, Angel Todorov <[email protected]> wrote:

> The problem is that the coordinator layout always expects an AppBarLayout
> as its first child


That's not true ...


> , therefore i cannot put a relative layout in order to adjust the
> positions of my content view relative to the toolbar.


You shouldn't have to use a RelativeLayout. Putting a views in a
coordinator with the right scroll flags and scrolling behaviors set should
lay them out correctly.


> What happens is that the content view starts from the beginning of the
> screen, and the toolbar overlaps it.


Without more to go on, I'm guessing you're missing scroll flags or a scroll
behavior.

You should post your layout and screenshot of what it looks like.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CANCScggeyMC815CCf8A4Y6_PcibizuthOP2THJgAHucSUQzB1w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to